Skip to content

Commit

Permalink
Merge pull request #110 from p1c2u/feature/spec-3.0-schema
Browse files Browse the repository at this point in the history
Spec 3.0 schema
  • Loading branch information
p1c2u committed Feb 24, 2021
2 parents 0a52b2c + 152b193 commit 3933cb8
Show file tree
Hide file tree
Showing 3 changed files with 1,689 additions and 8 deletions.
4 changes: 2 additions & 2 deletions openapi_spec_validator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
resolver_handlers=default_handlers,
)

# v3.0.0 spec
schema_v3, schema_v3_url = get_openapi_schema('3.0.0')
# v3.0 spec
schema_v3, schema_v3_url = get_openapi_schema('3.0')
openapi_v3_validator_factory = JSONSpecValidatorFactory(
schema_v3, schema_v3_url,
resolver_handlers=default_handlers,
Expand Down

0 comments on commit 3933cb8

Please sign in to comment.