Skip to content

Commit

Permalink
Filter out schemas introduced in jsonschema 4.0.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
Justas Sadzevicius committed Sep 29, 2022
1 parent ac5e46d commit c43374f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bravado_core/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def _call_post_process_spec(spec_dict):
processed_uris = {
uri
for uri in spec.resolver.store
if uri == spec.origin_url or re.match(r'http://json-schema.org/draft-\d+/schema', uri)
if uri == spec.origin_url or re.match(r'http(s)?://json-schema.org/draft', uri)
}
additional_uri = _get_unprocessed_uri(spec, processed_uris)
while additional_uri is not None:
Expand Down

0 comments on commit c43374f

Please sign in to comment.