mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
[Python] update python requirement.txt and use single quote for safe characters (#4702)
* update python requirement * update petstore sample
This commit is contained in:
parent
c366f139e2
commit
5282987851
@ -1,5 +1,5 @@
|
||||
certifi >= 14.05.14
|
||||
six == 1.8.0
|
||||
six >= 1.10
|
||||
python_dateutil >= 2.5.3
|
||||
setuptools >= 21.0.0
|
||||
urllib3 >= 1.15.1
|
||||
|
@ -116,7 +116,7 @@ class ApiClient(object):
|
||||
collection_formats)
|
||||
for k, v in path_params:
|
||||
resource_path = resource_path.replace(
|
||||
'{%s}' % k, quote(str(v), safe=""))
|
||||
'{%s}' % k, quote(str(v), safe='')) # no safe chars, encode everything
|
||||
|
||||
# query parameters
|
||||
if query_params:
|
||||
|
Loading…
Reference in New Issue
Block a user