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 3bac6f0 commit 2d1c136Copy full SHA for 2d1c136
flask_parameter_validation/parameter_validation.py
@@ -62,7 +62,7 @@ async def nested_func(**kwargs):
62
expected_list_params = []
63
for name, param in expected_inputs.items():
64
if str(param.annotation).startswith("typing.List") or str(param.annotation).startswith("typing.Optional[typing.List"):
65
- expected_list_params.append(name)
+ expected_list_params.append(param.default.alias or name)
66
67
# Step 4 - Convert request inputs to dicts
68
request_inputs = {
0 commit comments