-
Notifications
You must be signed in to change notification settings - Fork 158
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
Using a reference in items of array results in error #464
Comments
@pmhofman Thanks for reporting this! It looks like an issue with the reference resolution in the upstream project https://github.com/swagger-api/swagger-parser/. Would you mind creating a bug report there and link it back to this issue? |
swagger-api/swagger-parser#1889 created |
I've just checked a codebase: org.openapitools.openapidiff.core.utils.RefPointer - is a openapi-diff implementation for resolving a references. But it does not support a lot of cases, in particular ref resolving from files. We already have #272 to address it. |
When a reference is used in
items:
of anarray
, e.g. :and error is thrown while resolving the references:
Files GetProductResponse.yaml and Product.yaml both reside in the same directory.
Attachment contains the source and destination folders, which contain a copy of the same openapi spec.
example.zip
The text was updated successfully, but these errors were encountered: