-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate a REST API response against the Swagger/OpenAPI spec #27
Comments
@ddobrin Thanks a lot for raising this issue. Had a long discussion with one of your team members and I think it would help during the development cycle. I was too focused on the production runtime in the beginning and couldn't find a way to return the validation error within the normal response. I am more leaning to implement this in the client module at the moment and we can make it optional so that it can be turned off on production. Let's discuss the details once we meet. |
Agreed. |
@stevehu : there are 3 cases where response validation against the spec can be performed:
My client wishes to retain both options [2,3], which will be used during development and testing. Note: |
Provide a method to validate a response against the specification.
A usable step would allow the validation of a response from integration and/or unit tests.
The text was updated successfully, but these errors were encountered: