RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
114 stars 11 forks source link

File does not contain a valid swagger spec #502

Open vamshikrishnamraju opened 5 years ago

vamshikrishnamraju commented 5 years ago

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 commented 5 years ago

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

vamshikrishnamraju commented 5 years ago

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