Refactoring a schma with "$ref" results in false positive breaking change #192
Labels
Breaking/Non-Breaking classification
Issues related to Breaking/Non-Breaking changes classification
help wanted
Milestone
The bug
When splitting a schema into two schemas where one refers with allOf to the other the diff shows breaking change, even if the end structure is the same.
To Reproduce
Example schema old.yaml:
Example schema new.yaml:
Result of
docker run -v $(pwd):/tmp openapitools/openapi-diff:latest /tmp/old.yaml /tmp/new.yaml
:Expected behavior
The tool is expected to notice a change but not a breaking one since the allOf mapping results in the same schema after resolving.
The text was updated successfully, but these errors were encountered: