Skip to content

Commit f8b87f2

Browse files
authored
Fix url escape quote in python pydantic v1 client
1 parent c74dfa3 commit f8b87f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/openapi-generator/src/main/resources/python-pydantic-v1/api_client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ class ApiClient:
584584
if k in collection_formats:
585585
collection_format = collection_formats[k]
586586
if collection_format == 'multi':
587-
new_params.extend((k, str(value)) for value in v)
587+
new_params.extend((k, quote(str(value))) for value in v)
588588
else:
589589
if collection_format == 'ssv':
590590
delimiter = ' '

0 commit comments

Comments
 (0)