forked from loafle/openapi-generator-original
* added bytearray to list of types * adding regenerated sample files for python-flask
This commit is contained in:
@@ -16,7 +16,7 @@ def _deserialize(data, klass):
|
||||
if data is None:
|
||||
return None
|
||||
|
||||
if klass in six.integer_types or klass in (float, str, bool):
|
||||
if klass in six.integer_types or klass in (float, str, bool, bytearray):
|
||||
return _deserialize_primitive(data, klass)
|
||||
elif klass == object:
|
||||
return _deserialize_object(data)
|
||||
|
||||
Reference in New Issue
Block a user