forked from loafle/openapi-generator-original
Squashed commit of the following:
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868 Merge:8c4991ba3ef8ff8c8760Author: William Cheng <wing328hk@gmail.com> Date: Tue Aug 17 18:28:12 2021 +0800 Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting commitf8ff8c8760Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:12:47 2021 +1000 Reorder tags that handle missing values commitf5d8a33709Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:08:59 2021 +1000 Use dot notation where possible commit493d14921eAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 14:10:49 2021 +1000 Remove empty tags commit32480dc53fAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Thu Aug 5 10:41:58 2021 +1000 Remove redundant sections commita8edabd722Author: Nathan Baulch <nathan.baulch@gmail.com> Date: Wed Aug 4 22:02:22 2021 +1000 Trim extra EOF new lines commite89bd7458eAuthor: Nathan Baulch <nathan.baulch@gmail.com> Date: Wed Aug 4 21:59:26 2021 +1000 Trim trailing whitespace
This commit is contained in:
@@ -55,4 +55,3 @@ git pull origin master
|
||||
# Pushes (Forces) the changes in the local repository up to the remote repository
|
||||
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
||||
git push origin master 2>&1 | grep -v 'To https'
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ class AnotherFakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Client",
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -278,7 +278,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "bool",
|
||||
}
|
||||
@@ -409,7 +409,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "OuterComposite",
|
||||
}
|
||||
@@ -540,7 +540,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "float",
|
||||
}
|
||||
@@ -671,7 +671,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "str",
|
||||
}
|
||||
@@ -806,7 +806,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -948,7 +948,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1085,7 +1085,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Client",
|
||||
}
|
||||
@@ -1351,7 +1351,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['http_basic_test'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1532,7 +1532,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1704,7 +1704,7 @@ class FakeApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1835,7 +1835,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1977,7 +1977,7 @@ class FakeApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -2155,7 +2155,7 @@ class FakeApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
|
||||
@@ -153,7 +153,7 @@ class FakeClassnameTags123Api(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['api_key_query'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Client",
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -281,7 +281,7 @@ class PetApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -415,7 +415,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "list[Pet]",
|
||||
400: None,
|
||||
@@ -552,7 +552,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "list[Pet]",
|
||||
400: None,
|
||||
@@ -688,7 +688,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['api_key'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Pet",
|
||||
400: None,
|
||||
@@ -823,7 +823,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -968,7 +968,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1117,7 +1117,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "ApiResponse",
|
||||
}
|
||||
@@ -1272,7 +1272,7 @@ class PetApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['petstore_auth'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "ApiResponse",
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ class StoreApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -267,7 +267,7 @@ class StoreApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = ['api_key'] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "dict(str, int)",
|
||||
}
|
||||
@@ -406,7 +406,7 @@ class StoreApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Order",
|
||||
400: None,
|
||||
@@ -541,7 +541,7 @@ class StoreApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "Order",
|
||||
400: None,
|
||||
|
||||
@@ -145,7 +145,7 @@ class UserApi(object):
|
||||
body_params = local_var_params['body']
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -272,7 +272,7 @@ class UserApi(object):
|
||||
body_params = local_var_params['body']
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -399,7 +399,7 @@ class UserApi(object):
|
||||
body_params = local_var_params['body']
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -528,7 +528,7 @@ class UserApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -659,7 +659,7 @@ class UserApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "User",
|
||||
400: None,
|
||||
@@ -805,7 +805,7 @@ class UserApi(object):
|
||||
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {
|
||||
200: "str",
|
||||
400: None,
|
||||
@@ -924,7 +924,7 @@ class UserApi(object):
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
@@ -1064,7 +1064,7 @@ class UserApi(object):
|
||||
body_params = local_var_params['body']
|
||||
# Authentication setting
|
||||
auth_settings = [] # noqa: E501
|
||||
|
||||
|
||||
response_types_map = {}
|
||||
|
||||
return self.api_client.call_api(
|
||||
|
||||
@@ -197,7 +197,7 @@ class ApiClient(object):
|
||||
|
||||
if not _preload_content:
|
||||
return return_data
|
||||
|
||||
|
||||
response_type = response_types_map.get(response_data.status, None)
|
||||
|
||||
if six.PY3 and response_type not in ["file", "bytes"]:
|
||||
@@ -209,7 +209,7 @@ class ApiClient(object):
|
||||
response_data.data = response_data.data.decode(encoding)
|
||||
|
||||
# deserialize response data
|
||||
|
||||
|
||||
if response_type:
|
||||
return_data = self.deserialize(response_data, response_type)
|
||||
else:
|
||||
|
||||
@@ -77,8 +77,8 @@ class Configuration(object):
|
||||
:param server_operation_variables: Mapping from operation ID to a mapping with
|
||||
string values to replace variables in templated server configuration.
|
||||
The validation of enums is performed for variables with defined enum values before.
|
||||
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
||||
in PEM format
|
||||
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
||||
in PEM format
|
||||
|
||||
:Example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user