Closed stevesimmons closed 4 years ago
validator20.validate_definition() does not include the name of the definition failing validation when raising SwaggerValidationErrors.
validator20.validate_definition()
This pull request add the definition name to the exception, thereby making it easier to fix the schema error.
Coverage increased (+0.004%) to 98.125% when pulling 219dd57fb4480d789b3ad381f69c1e9e03f926b7 on stevesimmons:master into 8d344a158442078a0d88c2738fedd9eb6f094afe on Yelp:master.
validator20.validate_definition()
does not include the name of the definition failing validation when raising SwaggerValidationErrors.This pull request add the definition name to the exception, thereby making it easier to fix the schema error.