-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable response validation per OpenAPI spec #1407
Comments
This is blocked by: Since some of our responses are XML and the committee gem requires responses to be JSON for validation. |
i believe this may now be unblocked, as the committee issue linked from april 2020 appears to have been fixed in august 2020. @aaron-collier, i'm going to move this into "in progress", but if you'd prefer to unassign yourself and kick it back to "ready", no objection from me. there may be other blockers besides interagent/committee#257, but seems worth a re-visit to find out what specifically. |
@jmartin-sul just saw this in the in-progress column, happy to pick it back up. |
For what it is worth, I believe that for other apps, we only do response validation during tests. |
I think this is still blocked by interagent/committee#300 Well, that ticket is a feature request for the same issue I'm seeing working on this:
|
# config.middleware.use Committee::Middleware::ResponseValidation, schema_path: 'openapi.yml'
inconfig/application.rb
The text was updated successfully, but these errors were encountered: