Skip to content

Commit

Permalink
test with openapi definition 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
omarudolley committed Nov 1, 2023
1 parent b4eb872 commit 1198141
Show file tree
Hide file tree
Showing 3 changed files with 326 additions and 81 deletions.
2 changes: 1 addition & 1 deletion openapi_to_fastapi/model_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def generate_model_from_schema(schema: str, format_code: bool = False) -> str:
extra_template_data=None,
target_python_version=PythonVersion.PY_38,
dump_resolve_reference_action=None,
validation=True,
validation=False,
field_constraints=False,
snake_case_field=False,
strip_default_none=False,
Expand Down
Loading

0 comments on commit 1198141

Please sign in to comment.