We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d97a3a2 + 8ff4b62 commit 127ddddCopy full SHA for 127dddd
1 file changed
fastapi_code_generator/__main__.py
@@ -30,6 +30,8 @@ def main(
30
input_text: str = input_file.read()
31
if model_file:
32
model_path = Path(model_file).with_suffix('.py')
33
+ else:
34
+ model_path = MODEL_PATH
35
return generate_code(input_name, input_text, output_dir, template_dir, model_path)
36
37
0 commit comments