feat: add flatten-allof support with tests#81
Merged
reuvenharrison merged 4 commits intomainfrom Mar 21, 2026
Merged
Conversation
- Add specs/base-allof.yaml and specs/revision-allof.yaml fixtures - Add oasdiff_breaking_flatten_allof test to test.yaml - Replace README with restructured version (from docs/readme-fixes) including flatten-allof rows in all three input tables Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… it optional response-required-property-became-optional is a breaking change (ERR). Previously had it backwards: adding required to response is not breaking. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- README: keep flatten-allof rows in all three tables - changelog/entrypoint.sh: merge flatten_allof ($7) with template/level ($13/$14) added by main Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #67 (Add support for flattening by @Shadowghost).
Changes
breaking/action.yml,changelog/action.yml,diff/action.yml: addflatten-allofinputbreaking/entrypoint.sh,changelog/entrypoint.sh,diff/entrypoint.sh: pass--flatten-allofflag when enabledspecs/base-allof.yaml+specs/revision-allof.yaml: test fixtures withallOfschemas; revision makes a field required (breaking change when flattened).github/workflows/test.yaml: addoasdiff_breaking_flatten_allofjob that verifies the option detects the expected breaking changeREADME.md: restructured version withflatten-allofrow added to all three input tablesTest plan
oasdiff_breaking_flatten_alloftest jobflatten-allof: truedetects1 changes: 1 error, 0 warning, 0 infoagainst the allOf fixturesCloses #67
🤖 Generated with Claude Code