-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allOf : type
of property contained in multiple subschemas is not correctly determined.
#392
Comments
Here another example, where oas-diff errored with:
|
I ran into the same issue that my examples are like that:
Produces the following exception:
|
@Pyth0ff Does it still fail with the latest version? |
@joschi Thank you for the quick answer and yes the latest beta helps to solve my issue. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the following schema V1:
is changed to the following schema V2:
openapi-diff incorrectly detects the following incompatible change:
Changed property type (object -> string)
It seems to me that the
type
of a property that is contained in multiple subschemas of an allOf is not correctly determined. Openapi-diff recognized the type ofpropA
in schema V1 as an object, but this is not correct.The text was updated successfully, but these errors were encountered: