mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
unicode type forgotten in api_client.mustache
This commit is contained in:
parent
27e434d786
commit
cc1c495ea5
@ -189,7 +189,7 @@ class ApiClient(object):
|
||||
"""
|
||||
if isinstance(obj, type(None)):
|
||||
return None
|
||||
elif isinstance(obj, (str, int, float, bool, tuple)):
|
||||
elif isinstance(obj, (str, int, float, bool, tuple, unicode)):
|
||||
return obj
|
||||
elif isinstance(obj, list):
|
||||
return [self.sanitize_for_serialization(sub_obj)
|
||||
|
Loading…
Reference in New Issue
Block a user