-
Notifications
You must be signed in to change notification settings - Fork 206
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 parsing valid (but odd) OpenAPI 3.0 spec #5
Labels
bug
Something isn't working
Comments
abhijitkane
pushed a commit
that referenced
this issue
Dec 16, 2018
@ccs018 #6 should address this |
Thanks for the quick turn around! Do you know how long it will be for a new version of Postman to be released with this fix? |
@ccs018 We'll be releasing the next Postman Canary version by tomorrow. |
Confirmed that [email protected] resolves this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My workflow for creating APIs includes using many re-usable components to drive consistency and commonality between the APIs in our project. This means I have a lot of $ref's to external files. Then, as part of a release & publication step, I use the NPM package RefParser to bundle all of these "source" files into a single YAML file with no external references. The result of this bundling can result in an odd looking, but valid, OpenAPI 3.0 specification. This specification validates against the official swagger 3.0 editor, but fails when attempting to import into Postman or converted with this tool.
The error is as follows:
The source OpenAPI 3.0 spec is below. It's based on one of my bundled YAML file. The official swagger editor raises no complaints, but fails as noted above.
Only if I comment out both Retry-After $refs does it complete the conversion without error.
The text was updated successfully, but these errors were encountered: