Yelp/swagger_spec_validator

retrieve list of errors instead of raising errors

sdementen opened this issue · 0 comments

Except if I am missing some option, validate_spec will raise an exception as soon as it find an error.
It would be useful to be able to retrieve all errors from validation instead of raising exceptions.
I want to use the validate_spec to validate a swagger uploaded by users and return to them the list of errors instead of returning only the first error.