carlansley / swagger2

Loading, parsing and validating requests to HTTP services based on Swagger v2.0 documents
MIT License
25 stars 17 forks source link

Ability to Disable Validator #17

Closed benpingilley closed 6 years ago

benpingilley commented 7 years ago

I would like to remove the below error from the Swagger UI by disabling the validation.

{"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://foobar.net/api-docs"}]}

carlansley commented 6 years ago

Not 100% sure I understand your issue, but I believe this no long happens with the new 3.x swagger-ui.