diff --git a/fastapi_code_generator/parser.py b/fastapi_code_generator/parser.py index 549fbf0..e287527 100644 --- a/fastapi_code_generator/parser.py +++ b/fastapi_code_generator/parser.py @@ -226,7 +226,7 @@ def get_parameter_type( name=field.name, type_hint=field.type_hint, default=default, # type: ignore - default_value=represented_default, + default_value=represented_default, # type: ignore required=field.required, )