forked from loafle/openapi-generator-original
update samples
This commit is contained in:
parent
564a86ccda
commit
ede1c9ca3e
@ -460,7 +460,7 @@ class PetApi(object):
|
|||||||
# process the query parameters
|
# process the query parameters
|
||||||
_query_params = []
|
_query_params = []
|
||||||
if _params.get('status') is not None: # noqa: E501
|
if _params.get('status') is not None: # noqa: E501
|
||||||
_query_params.append(('status', _params['status']))
|
_query_params.append(('status', _params['status'].value))
|
||||||
_collection_formats['status'] = 'csv'
|
_collection_formats['status'] = 'csv'
|
||||||
|
|
||||||
# process the header parameters
|
# process the header parameters
|
||||||
|
@ -429,7 +429,7 @@ class PetApi(object):
|
|||||||
# process the query parameters
|
# process the query parameters
|
||||||
_query_params = []
|
_query_params = []
|
||||||
if _params.get('status') is not None: # noqa: E501
|
if _params.get('status') is not None: # noqa: E501
|
||||||
_query_params.append(('status', _params['status']))
|
_query_params.append(('status', _params['status'].value))
|
||||||
_collection_formats['status'] = 'csv'
|
_collection_formats['status'] = 'csv'
|
||||||
|
|
||||||
# process the header parameters
|
# process the header parameters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user