openapi-spec-validator icon indicating copy to clipboard operation
openapi-spec-validator copied to clipboard

Reports spec as valid when other validators do not

Open contre opened this issue 5 years ago • 0 comments

I have a spec which this project reports as valid where other validators, such as speccy, do not.

What I've found is that the spec we were using had duplicate entries for a get response of 200. This causes the other validators to throw an error.

I modified the test_parameter_default_value_wrong_type_swagger testcase in test_validators.py to add a duplicate 200 response with a different description and the error was not reported.

contre avatar Jan 29 '20 17:01 contre