Skip to content
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

File does not contain a valid swagger spec #502

Open
vamshikrishnamraju opened this issue May 20, 2019 · 2 comments
Open

File does not contain a valid swagger spec #502

vamshikrishnamraju opened this issue May 20, 2019 · 2 comments

Comments

@vamshikrishnamraju
Copy link

Hi

I am getting file does not contain a valid swagger spec issue while trying to generate the html document.

I am not able to understand what is the issue with my yaml file. I dont have warnings in api studio also.

Can you suggest me an approach to find the issue?

@tedepstein
Copy link
Collaborator

tedepstein commented May 20, 2019

@vamshikrishnamraju , would you be able to post the source OpenAPI YAML file so we can take a look?

@vamshikrishnamraju
Copy link
Author

Hi

Sorry, i will not be able post the yaml file here because of corporate restrictions.

But my issue is log statement doesn't give you complete information, like what went wrong. It is just telling that yaml file doesn't contain valid swagger spec.

So if you guys can include proper log then it will surely help us a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants