-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Issue parsing pointers in external files #35
Comments
Just to add - if the issue can be verified - I would guess this issue belongs more in |
Yeah, that's a bug that has been fixed in the latest version of |
Ah, excellent! Thank you for putting in the time. |
Swagger Parser v4.0 beta is now available, and includes the fix for this issue. |
Hi there,
Great work on swagger-parser. I'm having an issue though: bundling pointers inside an externally reffed file seems to include the name of the pointer, where it shouldn't. I'm guessing the pointers are pretty much ignored.
Try parsing
https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v2.0/yaml/petstore-separate
from the OpenAPI specs (the entry point isspec/swagger.api
), and then validating it.File
spec/swagger.api
refers toparameters.yaml#/tagsParam
. Bundling will include theparameters.yaml
file and even selecttagsParam
, but it also -- incorrectly -- includes thetagsParam
tag itself, rendering the resulting swagger.json invalid.Let me know if I missed something here! Thanks for taking a look.
The text was updated successfully, but these errors were encountered: