swagger-mock-api icon indicating copy to clipboard operation
swagger-mock-api copied to clipboard

Feature Request: Validate Request Requirements

Open dzdrazil opened this issue 9 years ago • 0 comments

The middleware should respond with non-successful status codes (and response objects, if a relevant status code response exists) if a request matches a path but fails a requirement (i.e. a POST request may require the body to conform to a schema).

dzdrazil avatar Jun 26 '15 00:06 dzdrazil