Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated generated files
  • Loading branch information
Ark-kun committed Jun 3, 2020
commit 180be056be6849f1597b58ccb29d0f13ff563298
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,22 @@ def call_123_test_special_tags(self, body, **kwargs): # noqa: E501
>>> thread = api.call_123_test_special_tags(body, async_req=True)
>>> result = thread.get()

:param bool async_req: execute request asynchronously
:param Client body: client model (required)
:param body: client model (required)
:type body: Client
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Client
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: Client
"""
kwargs['_return_http_data_only'] = True
return self.call_123_test_special_tags_with_http_info(body, **kwargs) # noqa: E501
Expand All @@ -72,20 +76,25 @@ def call_123_test_special_tags_with_http_info(self, body, **kwargs): # noqa: E5
>>> thread = api.call_123_test_special_tags_with_http_info(body, async_req=True)
>>> result = thread.get()

:param bool async_req: execute request asynchronously
:param Client body: client model (required)
:param body: client model (required)
:type body: Client
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(Client, status_code(int), headers(HTTPHeaderDict))
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(Client, status_code(int), headers(HTTPHeaderDict))
"""

local_var_params = locals()
Expand Down
480 changes: 334 additions & 146 deletions samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,22 @@ def test_classname(self, body, **kwargs): # noqa: E501
>>> thread = api.test_classname(body, async_req=True)
>>> result = thread.get()

:param bool async_req: execute request asynchronously
:param Client body: client model (required)
:param body: client model (required)
:type body: Client
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Client
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: Client
"""
kwargs['_return_http_data_only'] = True
return self.test_classname_with_http_info(body, **kwargs) # noqa: E501
Expand All @@ -72,20 +76,25 @@ def test_classname_with_http_info(self, body, **kwargs): # noqa: E501
>>> thread = api.test_classname_with_http_info(body, async_req=True)
>>> result = thread.get()

:param bool async_req: execute request asynchronously
:param Client body: client model (required)
:param body: client model (required)
:type body: Client
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: tuple(Client, status_code(int), headers(HTTPHeaderDict))
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(Client, status_code(int), headers(HTTPHeaderDict))
"""

local_var_params = locals()
Expand Down
Loading