You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,10 @@ openapi-schema-validator
18
18
About
19
19
#####
20
20
21
-
Openapi-schema-validator is a Python library that validates schema against the `OpenAPI Schema Specification v3.0 <https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject>`__ which is an extended subset of the `JSON Schema Specification Wright Draft 00 <http://json-schema.org/>`__.
21
+
Openapi-schema-validator is a Python library that validates schema against:
22
+
23
+
* `OpenAPI Schema Specification v3.0 <https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject>`__ which is an extended subset of the `JSON Schema Specification Wright Draft 00 <http://json-schema.org/>`__.
24
+
* `OpenAPI Schema Specification v3.1 <https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#schemaObject>`__ which is an extended superset of the `JSON Schema Specification Draft 2020-12 <http://json-schema.org/>`__.
22
25
23
26
Installation
24
27
############
@@ -47,7 +50,7 @@ Simple usage
47
50
48
51
# A sample schema
49
52
schema = {
50
-
"type": "object",
53
+
"type": "object",
51
54
"required": [
52
55
"name"
53
56
],
@@ -82,9 +85,9 @@ You can also check format for primitive types
82
85
83
86
.. code-block:: python
84
87
85
-
from openapi_schema_validator importoas30_format_checker
88
+
from openapi_schema_validator importoas31_format_checker
0 commit comments