apigee-127 / swagger-tools

A Node.js and browser module that provides tooling around Swagger.
MIT License
701 stars 374 forks source link

Swagger Validates but not Starts #496

Closed mKontakis closed 7 years ago

mKontakis commented 7 years ago

I have a yaml reference like that:

responses: "200": description: Success schema: $ref: "test.yaml#/GetMoviesListResponse"

Although swagger validates, it is denying to start:

swagger-error

whitlockjc commented 7 years ago

Try running swagger-tools validate YOUR_DOCUMENT to see exactly what the validation failures are. It looks like you've found a bug that will be fixed in #327 where the validation fails but no details are printed as expected. I apologize.

I'm going to close this as a duplicate but feel free to continue the conversation if you need help fixing your invalid document.