We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey folks, I was trying to diff two large OpenAPI descriptions and I could not get it working due to this exception:
Unexpected exception. Reason: invalid oneOf schema
It's coming from here: https://github.com/OpenAPITools/openapi-diff/blob/master/core/src/main/java/com/qdesrame/openapi/diff/core/compare/schemadiffresult/ComposedSchemaDiffResult.java#L101-L104
I noticed it seems to expect that the schemas under oneOf are references, and not an inline schema? For example:
oneOf
schema: oneOf: - type: string - type: object properties: a: type: string
Should be valid OpenAPI☝️ But this causes the exception.
The text was updated successfully, but these errors were encountered:
Seeing the same issue
Sorry, something went wrong.
{one,any,all}-of
Fix NPE with unnamed schemas in {one,any,all}-of (#220)
2a8648c
Fixes #176
Successfully merging a pull request may close this issue.
Hey folks, I was trying to diff two large OpenAPI descriptions and I could not get it working due to this exception:
It's coming from here: https://github.com/OpenAPITools/openapi-diff/blob/master/core/src/main/java/com/qdesrame/openapi/diff/core/compare/schemadiffresult/ComposedSchemaDiffResult.java#L101-L104
I noticed it seems to expect that the schemas under
oneOf
are references, and not an inline schema? For example:Should be valid OpenAPI☝️ But this causes the exception.
The text was updated successfully, but these errors were encountered: