- changed status to open
NPE when responses section is missing from an operation
Issue #130
resolved
Missing responses is not valid spec according to https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json#L241 but it would be good for swagger-request-validator to throw an assertion error, or at least an expressive exception, rather than an NPE in this case.
Comments (2)
-
-
- changed status to resolved
Available in v2.0.0
- Log in to comment
https://bitbucket.org/atlassian/swagger-request-validator/pull-requests/103