-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Error resolving references within extended objects #92
Comments
Any updates on this? Im having the same issue ... I tried using a custom resolver, but this error occurs before my custom resolver can intercept and handle the |
No update on this yet. It's lower on my priority list than other issues, since it only occurs for schemas that are technically invalid (see my note above) |
Thanks ... will keep eyes on this issue to see what is done going forward ... Hoping it gets in, but understand the |
My plan is for the core library to be spec-compliant and to move the non-spec-compliant functionality to a companion library or a plugin. |
Glossary
An "extended object" is a JSON object that has other properties in addition to
$ref
. For example:Issue Description
There is currently a bug in the
dereference()
method when an extended object contains both an external file reference and an internal reference. The internal reference gets broken, because thedereference()
method attempts to resolve it in the external file instead.Issue Reproduction
Here is sample code that reproduces this issue: https://runkit.com/bigstickcarpet/swagger-cli-issue-19
The text was updated successfully, but these errors were encountered: