We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a3a73b commit c281525Copy full SHA for c281525
aws_lambda_powertools/event_handler/middlewares/openapi_validation.py
@@ -371,7 +371,7 @@ def _get_embed_body(
371
def _normalize_multi_query_string_with_param(
372
query_string: Optional[Dict[str, List[str]]],
373
params: Sequence[ModelField],
374
-) -> Optional[Dict[str, Any]]:
+) -> Dict[str, Any]:
375
"""
376
Extract and normalize resolved_query_string_parameters
377
@@ -387,7 +387,7 @@ def _normalize_multi_query_string_with_param(
387
A dictionary containing the processed multi_query_string_parameters.
388
389
if not query_string:
390
- return None
+ return {}
391
else:
392
resolved_query_string: Dict[str, Any] = query_string
393
for param in filter(is_scalar_field, params):
0 commit comments