-
Notifications
You must be signed in to change notification settings - Fork 88
Comparing changes
Open a pull request
base repository: oasdiff/oasdiff
base: main
head repository: oasdiff/oasdiff
compare: feat/openapi-3.1-support
- 9 commits
- 16 files changed
- 2 contributors
Commits on Feb 5, 2026
-
Add full support for diffing OpenAPI 3.1 documents including: Document level: - WebhooksDiff for OpenAPI 3.1 webhooks - JSONSchemaDialectDiff for JSON Schema dialect specification Info object: - SummaryDiff for Info.Summary field License object: - IdentifierDiff for SPDX license identifiers Schema object (JSON Schema 2020-12): - ConstDiff for const keyword - ExamplesDiff for examples array - PrefixItemsDiff for tuple validation - ContainsDiff, MinContainsDiff, MaxContainsDiff for array containment - PatternPropertiesDiff for pattern-based properties - DependentSchemasDiff for conditional schemas - PropertyNamesDiff for property name validation - UnevaluatedItemsDiff, UnevaluatedPropertiesDiff Closes #52 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 95dce83 - Browse repository at this point
Copy the full SHA 95dce83View commit details -
test: add tests for OpenAPI 3.1 features
Add comprehensive tests for webhooks and new OpenAPI 3.1 / JSON Schema 2020-12 fields: - Webhook add/delete/modify tests - JSONSchemaDialect diff tests - Info.Summary diff tests - License.Identifier diff tests - Schema fields: const, examples, prefixItems, contains, minContains, maxContains, patternProperties, dependentSchemas, propertyNames, unevaluatedItems, unevaluatedProperties Coverage improvements: - webhooks_diff.go: 87.5-100% - schema_diff.go: 86.4-100% - info_diff.go: 81.2-100% - license_diff.go: 83.3-94.1% Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 35471c6 - Browse repository at this point
Copy the full SHA 35471c6View commit details -
test: add more webhook coverage tests
Add additional tests for webhook diff functionality: - Test Empty() with populated but empty diff struct - Test webhooks only in base spec (deletion case) - Test webhooks only in revision spec (addition case) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 1322552 - Browse repository at this point
Copy the full SHA 1322552View commit details
Commits on Feb 6, 2026
-
fix: handle ExclusiveBound type for OpenAPI 3.1 compatibility
OpenAPI 3.1 changed exclusiveMinimum/exclusiveMaximum from boolean modifiers to numeric bound values. Updated oasdiff to work with the new ExclusiveBound type from kin-openapi that supports both formats. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 60a2fc4 - Browse repository at this point
Copy the full SHA 60a2fc4View commit details -
test: add exclusiveMinimum/exclusiveMaximum examples for OpenAPI 3.1
- Add score property with exclusive bounds to Order schema in test data - Add test for ExclusiveMinDiff/ExclusiveMaxDiff with numeric values - Fix exclusiveBoundToValue to extract actual values from ExclusiveBound struct Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 274fdfb - Browse repository at this point
Copy the full SHA 274fdfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d760e8 - Browse repository at this point
Copy the full SHA 1d760e8View commit details -
fix: sanitize branch name in Docker workflow for feature branches
The docker/metadata-action automatically converts slashes to dashes, so use its output for feature branch builds to avoid invalid tag errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for d6f8063 - Browse repository at this point
Copy the full SHA d6f8063View commit details
Commits on Feb 9, 2026
-
chore: update kin-openapi to latest OpenAPI 3.1 support
Update replace directive to oasdiff/kin-openapi@1da4078 which includes: - JSON Schema 2020-12 identity keywords ($id, $anchor, $dynamicRef, $dynamicAnchor) - Content vocabulary (contentMediaType, contentEncoding, contentSchema) - Discriminator support for anyOf - jsonSchemaDialect validation - mutualTLS security scheme - License url/identifier mutual exclusivity - Paths optional in 3.1 - JSON Schema 2020-12 validation in openapi3filter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for b062fcb - Browse repository at this point
Copy the full SHA b062fcbView commit details -
feat: add diff support for remaining JSON Schema 2020-12 keywords
Support diffing if/then/else, dependentRequired, $id, $anchor, $dynamicRef, $dynamicAnchor, contentMediaType, contentEncoding, and contentSchema fields added in kin-openapi's OpenAPI 3.1 support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 919ee43 - Browse repository at this point
Copy the full SHA 919ee43View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...feat/openapi-3.1-support