-
Notifications
You must be signed in to change notification settings - Fork 531
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
Swagger parser resulted null for some swagger files #1428
Comments
Hi @HiranyaKavishani, thanks for you issue report, please try fixing this part: and let us know if that helps. |
I think this is very much related, OpenAPITools/openapi-generator#7453 . In the provided repo, swagger-parser will return null for both swagger and messages fields |
I tested this locally, reorganizing the |
I just wrote some tests against the latest origin/master and they all pass for the issue I was mentioning earlier, but fail for the latest released version. It looks like once a new version is out my problem will be resolved. |
Hi @gracekarina The swagger parser should validate the YAML and report the errors in the message field to convey the error. Thanks, |
The following swagger file returns null when it passes through the swagger parser
The text was updated successfully, but these errors were encountered: