We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98619c1 commit b216a46Copy full SHA for b216a46
fastapi_code_generator/__main__.py
@@ -59,10 +59,10 @@ def main(
59
),
60
disable_timestamp: bool = typer.Option(False, "--disable-timestamp"),
61
output_model_type: DataModelType = typer.Option(
62
- DataModelType.PydanticBaseModel, "--output-model-type", "-d"
+ DataModelType.PydanticBaseModel.value, "--output-model-type", "-d"
63
64
python_version: PythonVersion = typer.Option(
65
- PythonVersion.PY_38, "--python-version", "-p"
+ PythonVersion.PY_38.value, "--python-version", "-p"
66
67
) -> None:
68
input_name: str = input_file
0 commit comments