Skip to content

Commit

Permalink
Merge pull request #4639 from sul-dlss/use-new-committee-default
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo authored Nov 3, 2023
2 parents e930434 + 25aa05e commit d218b0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class Application < Rails::Application
Committee::Middleware::RequestValidation,
schema_path: 'openapi.yml',
strict: true,
strict_reference_validation: true,
error_class: JSONAPIError,
accept_request_filter: accept_proc,
parse_response_by_content_type: false,
Expand All @@ -63,6 +64,7 @@ class Application < Rails::Application
config.middleware.use(
Committee::Middleware::ResponseValidation,
schema_path: 'openapi.yml',
strict_reference_validation: true,
parse_response_by_content_type: true,
query_hash_key: 'rack.request.query_hash',
raise: true,
Expand Down

0 comments on commit d218b0b

Please sign in to comment.