Contributions
Swagger UI returning 500 with new version
Hi We are using the swagger UI POST /debug service to validate our swagger documents. However lately we have started to get an internal server error (code 500) rather than the normal response (code 200 + any validation errors) I have tried the same swagger doc in the swagger editor which works fine. Here is an example with intentional errors, that returns an internal error in swagger UI: { "swagger":"2.0", "info": { "version":"2.0.0", "title":"Beanhunter API", "description":"Description of the api goes here." }, "host":"local.xxx.com", "schemes":["http"], "consumes":["application/json"], "produces":["application/json"], "paths": { "/city": { "get": { "description":"test description" } } }, "definitions": { "Endpoints": { "title":"Endpoints object","properties": { "links":{} } } } } Any ideas? Thanks - Jakob2.5KViews0likes2Comments