Skip to content

Commit

Permalink
Update OpenAPI Specification version in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Nov 16, 2024
1 parent b9433d5 commit 5514560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,7 @@ All dataclass JSON Schemas can or can not be placed in the
[definitions](https://json-schema.org/draft/2020-12/json-schema-core.html#name-schema-re-use-with-defs)
section, depending on the `all_refs` parameter, which default value comes
from a dialect used (`False` for Draft 2022-12, `True` for OpenAPI
Specification 3.1.0):
Specification 3.1.1):

```python
print(build_json_schema(List[User], all_refs=True).to_json())
Expand Down

0 comments on commit 5514560

Please sign in to comment.