Skip to content

Commit 2390d75

Browse files
committed
Resolve deprecation warning of openapi_parser
1 parent 23396bf commit 2390d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/controllers/controller_spec_utility.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def read_schema_file
7070
end
7171

7272
def committee_options
73-
@committee_options ||= { schema: Committee::Drivers::load_from_file(schema_path), prefix: root_path, validate_success_only: true, parse_response_by_content_type: false }
73+
@committee_options ||= { schema: Committee::Drivers::load_from_file(schema_path, parser_options: { strict_reference_validation: true }), prefix: root_path, validate_success_only: true, parse_response_by_content_type: false }
7474
end
7575

7676
def get_with_compatibility path, options = {}

0 commit comments

Comments
 (0)