diff --git a/modules/openapi-generator/src/main/resources/python/api.mustache b/modules/openapi-generator/src/main/resources/python/api.mustache index ebafd266e9..60ec9ff0a4 100644 --- a/modules/openapi-generator/src/main/resources/python/api.mustache +++ b/modules/openapi-generator/src/main/resources/python/api.mustache @@ -14,7 +14,8 @@ from {{packageName}}.api_client import ApiClient {{#operations}} class {{classname}}(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/modules/openapi-generator/src/main/resources/python/api_client.mustache b/modules/openapi-generator/src/main/resources/python/api_client.mustache index bd72c76769..b044229828 100644 --- a/modules/openapi-generator/src/main/resources/python/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/python/api_client.mustache @@ -30,7 +30,8 @@ class ApiClient(object): the methods and models for each application are generated from the OpenAPI templates. - NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. :param configuration: .Configuration object for this client diff --git a/modules/openapi-generator/src/main/resources/python/configuration.mustache b/modules/openapi-generator/src/main/resources/python/configuration.mustache index 72702d8d1f..398c1d3dab 100644 --- a/modules/openapi-generator/src/main/resources/python/configuration.mustache +++ b/modules/openapi-generator/src/main/resources/python/configuration.mustache @@ -29,7 +29,7 @@ class TypeWithDefault(type): class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually. diff --git a/modules/openapi-generator/src/main/resources/python/model.mustache b/modules/openapi-generator/src/main/resources/python/model.mustache index 3d69ce83b1..a2f899eeea 100644 --- a/modules/openapi-generator/src/main/resources/python/model.mustache +++ b/modules/openapi-generator/src/main/resources/python/model.mustache @@ -15,7 +15,8 @@ import six {{#models}} {{#model}} class {{classname}}(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """{{#allowableValues}} diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/another_fake_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/another_fake_api.py index 578d0a3c60..3f1efdf68b 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/another_fake_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/another_fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class AnotherFakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py index 31d0b987b1..be7767d8b6 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/fake_classname_tags_123_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/fake_classname_tags_123_api.py index 7ed837ba7c..1f4d95a148 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/fake_classname_tags_123_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/fake_classname_tags_123_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeClassnameTags123Api(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/pet_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/pet_api.py index ecddb054d3..5b62a0b12a 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/pet_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/pet_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class PetApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/store_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/store_api.py index ae2099b665..235a7b49a3 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/store_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/store_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class StoreApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py b/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py index af116065a8..1b016f2999 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api/user_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class UserApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/api_client.py b/samples/client/petstore/python-asyncio/petstore_api/api_client.py index ca7fe69790..cff6604b98 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/api_client.py +++ b/samples/client/petstore/python-asyncio/petstore_api/api_client.py @@ -35,7 +35,8 @@ class ApiClient(object): the methods and models for each application are generated from the OpenAPI templates. - NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. :param configuration: .Configuration object for this client diff --git a/samples/client/petstore/python-asyncio/petstore_api/configuration.py b/samples/client/petstore/python-asyncio/petstore_api/configuration.py index fe59628880..67928abe37 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/configuration.py +++ b/samples/client/petstore/python-asyncio/petstore_api/configuration.py @@ -37,7 +37,7 @@ class TypeWithDefault(type): class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually. diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py index 9522f052a4..dc4648ae1c 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/additional_properties_class.py @@ -17,7 +17,8 @@ import six class AdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py index f36776cba4..4a07680265 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/animal.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/animal.py @@ -17,7 +17,8 @@ import six class Animal(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/animal_farm.py b/samples/client/petstore/python-asyncio/petstore_api/models/animal_farm.py index 8df0675df2..238d580ba5 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/animal_farm.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/animal_farm.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class AnimalFarm(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py b/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py index f06d01c690..e629830304 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/api_response.py @@ -17,7 +17,8 @@ import six class ApiResponse(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py index 00f6fa0f67..fde218a466 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py index 4c8fef5fbd..8999e563c4 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py index 9f2c4d7ebf..04a871e8f7 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/array_test.py @@ -19,7 +19,8 @@ from petstore_api.models.read_only_first import ReadOnlyFirst # noqa: F401,E501 class ArrayTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py b/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py index 3f4b86e89d..923f5c4aae 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/capitalization.py @@ -17,7 +17,8 @@ import six class Capitalization(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/cat.py b/samples/client/petstore/python-asyncio/petstore_api/models/cat.py index b61abd5361..808409c226 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/cat.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/cat.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Cat(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/category.py b/samples/client/petstore/python-asyncio/petstore_api/models/category.py index 8a6068cd01..9fbd44a7b3 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/category.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/category.py @@ -17,7 +17,8 @@ import six class Category(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py b/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py index b0c6c7c4ee..e207ba41ec 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/class_model.py @@ -17,7 +17,8 @@ import six class ClassModel(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/client.py b/samples/client/petstore/python-asyncio/petstore_api/models/client.py index bdcf3d52d8..e742468e77 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/client.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/client.py @@ -17,7 +17,8 @@ import six class Client(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/dog.py b/samples/client/petstore/python-asyncio/petstore_api/models/dog.py index 221eaffc77..f7fa73c9d4 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/dog.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/dog.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Dog(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py index 93f43630a8..df4363c356 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_arrays.py @@ -17,7 +17,8 @@ import six class EnumArrays(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py index 85641c85a9..182197d8aa 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_class.py @@ -17,7 +17,8 @@ import six class EnumClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py index 520e323056..cfe0ebcb84 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/enum_test.py @@ -19,7 +19,8 @@ from petstore_api.models.outer_enum import OuterEnum # noqa: F401,E501 class EnumTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py index 9fd5d8cdfa..68c8953ee1 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/format_test.py @@ -17,7 +17,8 @@ import six class FormatTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py index 098d851dd1..41db3ff719 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/has_only_read_only.py @@ -17,7 +17,8 @@ import six class HasOnlyReadOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/list.py b/samples/client/petstore/python-asyncio/petstore_api/models/list.py index ebd6194c36..08e12ad531 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/list.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/list.py @@ -17,7 +17,8 @@ import six class List(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py b/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py index 15d1eb90ff..02ff04f983 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/map_test.py @@ -17,7 +17,8 @@ import six class MapTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py index 24b9809ffc..a38141493f 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class MixedPropertiesAndAdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py b/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py index f4451d15a2..ec778cdcb7 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/model200_response.py @@ -17,7 +17,8 @@ import six class Model200Response(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/model_200_response.py b/samples/client/petstore/python-asyncio/petstore_api/models/model_200_response.py deleted file mode 100644 index 60f9c96a67..0000000000 --- a/samples/client/petstore/python-asyncio/petstore_api/models/model_200_response.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class Model200Response(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'int', - '_class': 'str' - } - - attribute_map = { - 'name': 'name', - '_class': 'class' - } - - def __init__(self, name=None, _class=None): # noqa: E501 - """Model200Response - a model defined in Swagger""" # noqa: E501 - - self._name = None - self.__class = None - self.discriminator = None - - if name is not None: - self.name = name - if _class is not None: - self._class = _class - - @property - def name(self): - """Gets the name of this Model200Response. # noqa: E501 - - - :return: The name of this Model200Response. # noqa: E501 - :rtype: int - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Model200Response. - - - :param name: The name of this Model200Response. # noqa: E501 - :type: int - """ - - self._name = name - - @property - def _class(self): - """Gets the _class of this Model200Response. # noqa: E501 - - - :return: The _class of this Model200Response. # noqa: E501 - :rtype: str - """ - return self.__class - - @_class.setter - def _class(self, _class): - """Sets the _class of this Model200Response. - - - :param _class: The _class of this Model200Response. # noqa: E501 - :type: str - """ - - self.__class = _class - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Model200Response): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py b/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py index f2b29b99c0..3862245ef7 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/model_return.py @@ -17,7 +17,8 @@ import six class ModelReturn(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/name.py b/samples/client/petstore/python-asyncio/petstore_api/models/name.py index 3e6237d213..b2e97e596a 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/name.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/name.py @@ -17,7 +17,8 @@ import six class Name(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py b/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py index 1878b4c496..ab39ee8195 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/number_only.py @@ -17,7 +17,8 @@ import six class NumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/order.py b/samples/client/petstore/python-asyncio/petstore_api/models/order.py index ede3f1068a..697d84447c 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/order.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/order.py @@ -17,7 +17,8 @@ import six class Order(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_boolean.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_boolean.py deleted file mode 100644 index 9b3aebd360..0000000000 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_boolean.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterBoolean(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterBoolean - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterBoolean): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py index a0b7b5e4da..b22b16c6fd 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/outer_composite.py @@ -17,7 +17,8 @@ import six class OuterComposite(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py index d26eaaa337..10d6be19a4 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/outer_enum.py @@ -17,7 +17,8 @@ import six class OuterEnum(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_number.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_number.py deleted file mode 100644 index a35587be65..0000000000 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_number.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterNumber(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterNumber - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterNumber): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/outer_string.py b/samples/client/petstore/python-asyncio/petstore_api/models/outer_string.py deleted file mode 100644 index 736edacd1b..0000000000 --- a/samples/client/petstore/python-asyncio/petstore_api/models/outer_string.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterString(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterString - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterString): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/pet.py b/samples/client/petstore/python-asyncio/petstore_api/models/pet.py index a1857f4f52..2789143777 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/pet.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/pet.py @@ -20,7 +20,8 @@ from petstore_api.models.tag import Tag # noqa: F401,E501 class Pet(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py b/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py index ca84207f20..2b257be18d 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/read_only_first.py @@ -17,7 +17,8 @@ import six class ReadOnlyFirst(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py b/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py index 0d0326476a..fa59b88747 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/special_model_name.py @@ -17,7 +17,8 @@ import six class SpecialModelName(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/tag.py b/samples/client/petstore/python-asyncio/petstore_api/models/tag.py index 9b17ed1990..8fcc8a8486 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/tag.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/tag.py @@ -17,7 +17,8 @@ import six class Tag(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/petstore_api/models/user.py b/samples/client/petstore/python-asyncio/petstore_api/models/user.py index 5bae305530..9736c47c1f 100644 --- a/samples/client/petstore/python-asyncio/petstore_api/models/user.py +++ b/samples/client/petstore/python-asyncio/petstore_api/models/user.py @@ -17,7 +17,8 @@ import six class User(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-asyncio/pom.xml b/samples/client/petstore/python-asyncio/pom.xml index b370bd0246..6907f8a2a3 100644 --- a/samples/client/petstore/python-asyncio/pom.xml +++ b/samples/client/petstore/python-asyncio/pom.xml @@ -1,6 +1,6 @@ 4.0.0 - io.swagger + org.openapitools PythonAsyncioClientTests pom 1.0-SNAPSHOT diff --git a/samples/client/petstore/python-asyncio/test/test_additional_properties_class.py b/samples/client/petstore/python-asyncio/test/test_additional_properties_class.py index 77ccb73b02..fc9df3bbb5 100644 --- a/samples/client/petstore/python-asyncio/test/test_additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/test/test_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_animal.py b/samples/client/petstore/python-asyncio/test/test_animal.py index eb5f7cb930..179f1fbd0e 100644 --- a/samples/client/petstore/python-asyncio/test/test_animal.py +++ b/samples/client/petstore/python-asyncio/test/test_animal.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_animal_farm.py b/samples/client/petstore/python-asyncio/test/test_animal_farm.py index 8f79946fa7..5c2c55fbd0 100644 --- a/samples/client/petstore/python-asyncio/test/test_animal_farm.py +++ b/samples/client/petstore/python-asyncio/test/test_animal_farm.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_another_fake_api.py b/samples/client/petstore/python-asyncio/test/test_another_fake_api.py index c294aa9035..4b80dc4eda 100644 --- a/samples/client/petstore/python-asyncio/test/test_another_fake_api.py +++ b/samples/client/petstore/python-asyncio/test/test_another_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_api_response.py b/samples/client/petstore/python-asyncio/test/test_api_response.py index 97ed978a5f..5031b458a0 100644 --- a/samples/client/petstore/python-asyncio/test/test_api_response.py +++ b/samples/client/petstore/python-asyncio/test/test_api_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_array_of_array_of_number_only.py b/samples/client/petstore/python-asyncio/test/test_array_of_array_of_number_only.py index b617ed2cd3..a022330454 100644 --- a/samples/client/petstore/python-asyncio/test/test_array_of_array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/test/test_array_of_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_array_of_number_only.py b/samples/client/petstore/python-asyncio/test/test_array_of_number_only.py index 7439364c7b..1a928bf7d2 100644 --- a/samples/client/petstore/python-asyncio/test/test_array_of_number_only.py +++ b/samples/client/petstore/python-asyncio/test/test_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_array_test.py b/samples/client/petstore/python-asyncio/test/test_array_test.py index d7feb2ac8f..c56b77b77e 100644 --- a/samples/client/petstore/python-asyncio/test/test_array_test.py +++ b/samples/client/petstore/python-asyncio/test/test_array_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_capitalization.py b/samples/client/petstore/python-asyncio/test/test_capitalization.py index 4ac874e817..2ae7725b3f 100644 --- a/samples/client/petstore/python-asyncio/test/test_capitalization.py +++ b/samples/client/petstore/python-asyncio/test/test_capitalization.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_cat.py b/samples/client/petstore/python-asyncio/test/test_cat.py index 370f108138..5ebd7908d2 100644 --- a/samples/client/petstore/python-asyncio/test/test_cat.py +++ b/samples/client/petstore/python-asyncio/test/test_cat.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_category.py b/samples/client/petstore/python-asyncio/test/test_category.py index 7a9e40a1f6..6a59252128 100644 --- a/samples/client/petstore/python-asyncio/test/test_category.py +++ b/samples/client/petstore/python-asyncio/test/test_category.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_class_model.py b/samples/client/petstore/python-asyncio/test/test_class_model.py index a42127abf5..12b7fb9940 100644 --- a/samples/client/petstore/python-asyncio/test/test_class_model.py +++ b/samples/client/petstore/python-asyncio/test/test_class_model.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_client.py b/samples/client/petstore/python-asyncio/test/test_client.py index 81df726dbf..9e18c4310d 100644 --- a/samples/client/petstore/python-asyncio/test/test_client.py +++ b/samples/client/petstore/python-asyncio/test/test_client.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_dog.py b/samples/client/petstore/python-asyncio/test/test_dog.py index ae13869b99..dc151f998d 100644 --- a/samples/client/petstore/python-asyncio/test/test_dog.py +++ b/samples/client/petstore/python-asyncio/test/test_dog.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_enum_arrays.py b/samples/client/petstore/python-asyncio/test/test_enum_arrays.py index 144e48883e..be572508ef 100644 --- a/samples/client/petstore/python-asyncio/test/test_enum_arrays.py +++ b/samples/client/petstore/python-asyncio/test/test_enum_arrays.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_enum_class.py b/samples/client/petstore/python-asyncio/test/test_enum_class.py index a47581d282..57eb14558a 100644 --- a/samples/client/petstore/python-asyncio/test/test_enum_class.py +++ b/samples/client/petstore/python-asyncio/test/test_enum_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_enum_test.py b/samples/client/petstore/python-asyncio/test/test_enum_test.py index 7487efe9fa..ecd43afc70 100644 --- a/samples/client/petstore/python-asyncio/test/test_enum_test.py +++ b/samples/client/petstore/python-asyncio/test/test_enum_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_fake_api.py b/samples/client/petstore/python-asyncio/test/test_fake_api.py index 00473d4a13..fc2cbef35f 100644 --- a/samples/client/petstore/python-asyncio/test/test_fake_api.py +++ b/samples/client/petstore/python-asyncio/test/test_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ @@ -53,6 +52,12 @@ class TestFakeApi(unittest.TestCase): """ pass + def test_test_body_with_query_params(self): + """Test case for test_body_with_query_params + + """ + pass + def test_test_client_model(self): """Test case for test_client_model diff --git a/samples/client/petstore/python-asyncio/test/test_fake_classname_tags_123_api.py b/samples/client/petstore/python-asyncio/test/test_fake_classname_tags_123_api.py index 8f40062a92..87cac0b9ef 100644 --- a/samples/client/petstore/python-asyncio/test/test_fake_classname_tags_123_api.py +++ b/samples/client/petstore/python-asyncio/test/test_fake_classname_tags_123_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_format_test.py b/samples/client/petstore/python-asyncio/test/test_format_test.py index 59809b9f44..46707c77b7 100644 --- a/samples/client/petstore/python-asyncio/test/test_format_test.py +++ b/samples/client/petstore/python-asyncio/test/test_format_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_has_only_read_only.py b/samples/client/petstore/python-asyncio/test/test_has_only_read_only.py index 26d14aef1f..2dc052a328 100644 --- a/samples/client/petstore/python-asyncio/test/test_has_only_read_only.py +++ b/samples/client/petstore/python-asyncio/test/test_has_only_read_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_list.py b/samples/client/petstore/python-asyncio/test/test_list.py index c2cca419f3..a538a6b1ad 100644 --- a/samples/client/petstore/python-asyncio/test/test_list.py +++ b/samples/client/petstore/python-asyncio/test/test_list.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_map_test.py b/samples/client/petstore/python-asyncio/test/test_map_test.py index 155797d9b2..0ba6481903 100644 --- a/samples/client/petstore/python-asyncio/test/test_map_test.py +++ b/samples/client/petstore/python-asyncio/test/test_map_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-asyncio/test/test_mixed_properties_and_additional_properties_class.py index 12a5676408..8893bdaf44 100644 --- a/samples/client/petstore/python-asyncio/test/test_mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-asyncio/test/test_mixed_properties_and_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_model200_response.py b/samples/client/petstore/python-asyncio/test/test_model200_response.py index 0a6576d295..fab761f4ed 100644 --- a/samples/client/petstore/python-asyncio/test/test_model200_response.py +++ b/samples/client/petstore/python-asyncio/test/test_model200_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_model_200_response.py b/samples/client/petstore/python-asyncio/test/test_model_200_response.py deleted file mode 100644 index f577dd4214..0000000000 --- a/samples/client/petstore/python-asyncio/test/test_model_200_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.model_200_response import Model200Response # noqa: E501 -from petstore_api.rest import ApiException - - -class TestModel200Response(unittest.TestCase): - """Model200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModel200Response(self): - """Test Model200Response""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.model_200_response.Model200Response() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-asyncio/test/test_model_return.py b/samples/client/petstore/python-asyncio/test/test_model_return.py index 64cf27f63a..ae3f15ee6b 100644 --- a/samples/client/petstore/python-asyncio/test/test_model_return.py +++ b/samples/client/petstore/python-asyncio/test/test_model_return.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_name.py b/samples/client/petstore/python-asyncio/test/test_name.py index beba143f39..d6c7256399 100644 --- a/samples/client/petstore/python-asyncio/test/test_name.py +++ b/samples/client/petstore/python-asyncio/test/test_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_number_only.py b/samples/client/petstore/python-asyncio/test/test_number_only.py index f2600c7952..7f6df65c80 100644 --- a/samples/client/petstore/python-asyncio/test/test_number_only.py +++ b/samples/client/petstore/python-asyncio/test/test_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_order.py b/samples/client/petstore/python-asyncio/test/test_order.py index ed4f8c7d16..3e7d517d5c 100644 --- a/samples/client/petstore/python-asyncio/test/test_order.py +++ b/samples/client/petstore/python-asyncio/test/test_order.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_outer_boolean.py b/samples/client/petstore/python-asyncio/test/test_outer_boolean.py deleted file mode 100644 index 4a7e446693..0000000000 --- a/samples/client/petstore/python-asyncio/test/test_outer_boolean.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_boolean import OuterBoolean # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterBoolean(unittest.TestCase): - """OuterBoolean unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterBoolean(self): - """Test OuterBoolean""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_boolean.OuterBoolean() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-asyncio/test/test_outer_composite.py b/samples/client/petstore/python-asyncio/test/test_outer_composite.py index e444e695fe..dcb078cd21 100644 --- a/samples/client/petstore/python-asyncio/test/test_outer_composite.py +++ b/samples/client/petstore/python-asyncio/test/test_outer_composite.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_outer_enum.py b/samples/client/petstore/python-asyncio/test/test_outer_enum.py index e3fb15e1b6..472e36e168 100644 --- a/samples/client/petstore/python-asyncio/test/test_outer_enum.py +++ b/samples/client/petstore/python-asyncio/test/test_outer_enum.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_outer_number.py b/samples/client/petstore/python-asyncio/test/test_outer_number.py deleted file mode 100644 index da5d3ceee6..0000000000 --- a/samples/client/petstore/python-asyncio/test/test_outer_number.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_number import OuterNumber # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterNumber(unittest.TestCase): - """OuterNumber unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterNumber(self): - """Test OuterNumber""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_number.OuterNumber() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-asyncio/test/test_outer_string.py b/samples/client/petstore/python-asyncio/test/test_outer_string.py deleted file mode 100644 index 02b4967e3b..0000000000 --- a/samples/client/petstore/python-asyncio/test/test_outer_string.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_string import OuterString # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterString(unittest.TestCase): - """OuterString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterString(self): - """Test OuterString""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_string.OuterString() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-asyncio/test/test_pet.py b/samples/client/petstore/python-asyncio/test/test_pet.py index d8df24f92b..bc5cc30fac 100644 --- a/samples/client/petstore/python-asyncio/test/test_pet.py +++ b/samples/client/petstore/python-asyncio/test/test_pet.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_pet_api.py b/samples/client/petstore/python-asyncio/test/test_pet_api.py index 1e2dd1c42b..ffd3e25c4c 100644 --- a/samples/client/petstore/python-asyncio/test/test_pet_api.py +++ b/samples/client/petstore/python-asyncio/test/test_pet_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_read_only_first.py b/samples/client/petstore/python-asyncio/test/test_read_only_first.py index 94bf3d127d..2b647b83fc 100644 --- a/samples/client/petstore/python-asyncio/test/test_read_only_first.py +++ b/samples/client/petstore/python-asyncio/test/test_read_only_first.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_special_model_name.py b/samples/client/petstore/python-asyncio/test/test_special_model_name.py index 002f660cc2..4edfec164f 100644 --- a/samples/client/petstore/python-asyncio/test/test_special_model_name.py +++ b/samples/client/petstore/python-asyncio/test/test_special_model_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_store_api.py b/samples/client/petstore/python-asyncio/test/test_store_api.py index 537c1bc03f..37bf771d13 100644 --- a/samples/client/petstore/python-asyncio/test/test_store_api.py +++ b/samples/client/petstore/python-asyncio/test/test_store_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_tag.py b/samples/client/petstore/python-asyncio/test/test_tag.py index e9bc1d471d..2c3c5157e7 100644 --- a/samples/client/petstore/python-asyncio/test/test_tag.py +++ b/samples/client/petstore/python-asyncio/test/test_tag.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_user.py b/samples/client/petstore/python-asyncio/test/test_user.py index 3575746c00..ad9386b690 100644 --- a/samples/client/petstore/python-asyncio/test/test_user.py +++ b/samples/client/petstore/python-asyncio/test/test_user.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/test/test_user_api.py b/samples/client/petstore/python-asyncio/test/test_user_api.py index 4ebd90f95e..6e8aed4f18 100644 --- a/samples/client/petstore/python-asyncio/test/test_user_api.py +++ b/samples/client/petstore/python-asyncio/test/test_user_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-asyncio/tests/test_pet_api.py b/samples/client/petstore/python-asyncio/tests/test_pet_api.py index b11762d335..32a336a4ac 100644 --- a/samples/client/petstore/python-asyncio/tests/test_pet_api.py +++ b/samples/client/petstore/python-asyncio/tests/test_pet_api.py @@ -53,7 +53,7 @@ class TestPetApiTests(unittest.TestCase): self.category.name = "dog" self.tag = petstore_api.Tag() self.tag.id = id_gen() - self.tag.name = "swagger-codegen-python-pet-tag" + self.tag.name = "openapi-generator-python-pet-tag" self.pet = petstore_api.Pet(name="hello kity", photo_urls=["http://foo.bar.com/1", "http://foo.bar.com/2"]) self.pet.id = id_gen() self.pet.status = "sold" diff --git a/samples/client/petstore/python-tornado/petstore_api/api/another_fake_api.py b/samples/client/petstore/python-tornado/petstore_api/api/another_fake_api.py index 578d0a3c60..3f1efdf68b 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/another_fake_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/another_fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class AnotherFakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api/fake_api.py b/samples/client/petstore/python-tornado/petstore_api/api/fake_api.py index 31d0b987b1..be7767d8b6 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/fake_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api/fake_classname_tags_123_api.py b/samples/client/petstore/python-tornado/petstore_api/api/fake_classname_tags_123_api.py index 7ed837ba7c..1f4d95a148 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/fake_classname_tags_123_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/fake_classname_tags_123_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeClassnameTags123Api(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api/pet_api.py b/samples/client/petstore/python-tornado/petstore_api/api/pet_api.py index ecddb054d3..5b62a0b12a 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/pet_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/pet_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class PetApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api/store_api.py b/samples/client/petstore/python-tornado/petstore_api/api/store_api.py index ae2099b665..235a7b49a3 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/store_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/store_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class StoreApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api/user_api.py b/samples/client/petstore/python-tornado/petstore_api/api/user_api.py index af116065a8..1b016f2999 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api/user_api.py +++ b/samples/client/petstore/python-tornado/petstore_api/api/user_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class UserApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/api_client.py b/samples/client/petstore/python-tornado/petstore_api/api_client.py index d3e38b1e5f..a98c0247a0 100644 --- a/samples/client/petstore/python-tornado/petstore_api/api_client.py +++ b/samples/client/petstore/python-tornado/petstore_api/api_client.py @@ -36,7 +36,8 @@ class ApiClient(object): the methods and models for each application are generated from the OpenAPI templates. - NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. :param configuration: .Configuration object for this client diff --git a/samples/client/petstore/python-tornado/petstore_api/configuration.py b/samples/client/petstore/python-tornado/petstore_api/configuration.py index fe59628880..67928abe37 100644 --- a/samples/client/petstore/python-tornado/petstore_api/configuration.py +++ b/samples/client/petstore/python-tornado/petstore_api/configuration.py @@ -37,7 +37,7 @@ class TypeWithDefault(type): class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually. diff --git a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py index 9522f052a4..dc4648ae1c 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py @@ -17,7 +17,8 @@ import six class AdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/animal.py b/samples/client/petstore/python-tornado/petstore_api/models/animal.py index f36776cba4..4a07680265 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/animal.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/animal.py @@ -17,7 +17,8 @@ import six class Animal(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py b/samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py index 8df0675df2..238d580ba5 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class AnimalFarm(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/api_response.py b/samples/client/petstore/python-tornado/petstore_api/models/api_response.py index f06d01c690..e629830304 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/api_response.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/api_response.py @@ -17,7 +17,8 @@ import six class ApiResponse(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py index 00f6fa0f67..fde218a466 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py index 4c8fef5fbd..8999e563c4 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/array_test.py b/samples/client/petstore/python-tornado/petstore_api/models/array_test.py index 9f2c4d7ebf..04a871e8f7 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/array_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/array_test.py @@ -19,7 +19,8 @@ from petstore_api.models.read_only_first import ReadOnlyFirst # noqa: F401,E501 class ArrayTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py b/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py index 3f4b86e89d..923f5c4aae 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/capitalization.py @@ -17,7 +17,8 @@ import six class Capitalization(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/cat.py b/samples/client/petstore/python-tornado/petstore_api/models/cat.py index b61abd5361..808409c226 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/cat.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/cat.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Cat(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/category.py b/samples/client/petstore/python-tornado/petstore_api/models/category.py index 8a6068cd01..9fbd44a7b3 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/category.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/category.py @@ -17,7 +17,8 @@ import six class Category(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/class_model.py b/samples/client/petstore/python-tornado/petstore_api/models/class_model.py index b0c6c7c4ee..e207ba41ec 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/class_model.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/class_model.py @@ -17,7 +17,8 @@ import six class ClassModel(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/client.py b/samples/client/petstore/python-tornado/petstore_api/models/client.py index bdcf3d52d8..e742468e77 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/client.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/client.py @@ -17,7 +17,8 @@ import six class Client(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/dog.py b/samples/client/petstore/python-tornado/petstore_api/models/dog.py index 221eaffc77..f7fa73c9d4 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/dog.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/dog.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Dog(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py index 93f43630a8..df4363c356 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_arrays.py @@ -17,7 +17,8 @@ import six class EnumArrays(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py index 85641c85a9..182197d8aa 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_class.py @@ -17,7 +17,8 @@ import six class EnumClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py b/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py index 520e323056..cfe0ebcb84 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/enum_test.py @@ -19,7 +19,8 @@ from petstore_api.models.outer_enum import OuterEnum # noqa: F401,E501 class EnumTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/format_test.py b/samples/client/petstore/python-tornado/petstore_api/models/format_test.py index 9fd5d8cdfa..68c8953ee1 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/format_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/format_test.py @@ -17,7 +17,8 @@ import six class FormatTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py index 098d851dd1..41db3ff719 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/has_only_read_only.py @@ -17,7 +17,8 @@ import six class HasOnlyReadOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/list.py b/samples/client/petstore/python-tornado/petstore_api/models/list.py index ebd6194c36..08e12ad531 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/list.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/list.py @@ -17,7 +17,8 @@ import six class List(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/map_test.py b/samples/client/petstore/python-tornado/petstore_api/models/map_test.py index 15d1eb90ff..02ff04f983 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/map_test.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/map_test.py @@ -17,7 +17,8 @@ import six class MapTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py index 24b9809ffc..a38141493f 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class MixedPropertiesAndAdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py b/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py index f4451d15a2..ec778cdcb7 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/model200_response.py @@ -17,7 +17,8 @@ import six class Model200Response(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/model_200_response.py b/samples/client/petstore/python-tornado/petstore_api/models/model_200_response.py deleted file mode 100644 index 60f9c96a67..0000000000 --- a/samples/client/petstore/python-tornado/petstore_api/models/model_200_response.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class Model200Response(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'int', - '_class': 'str' - } - - attribute_map = { - 'name': 'name', - '_class': 'class' - } - - def __init__(self, name=None, _class=None): # noqa: E501 - """Model200Response - a model defined in Swagger""" # noqa: E501 - - self._name = None - self.__class = None - self.discriminator = None - - if name is not None: - self.name = name - if _class is not None: - self._class = _class - - @property - def name(self): - """Gets the name of this Model200Response. # noqa: E501 - - - :return: The name of this Model200Response. # noqa: E501 - :rtype: int - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Model200Response. - - - :param name: The name of this Model200Response. # noqa: E501 - :type: int - """ - - self._name = name - - @property - def _class(self): - """Gets the _class of this Model200Response. # noqa: E501 - - - :return: The _class of this Model200Response. # noqa: E501 - :rtype: str - """ - return self.__class - - @_class.setter - def _class(self, _class): - """Sets the _class of this Model200Response. - - - :param _class: The _class of this Model200Response. # noqa: E501 - :type: str - """ - - self.__class = _class - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Model200Response): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-tornado/petstore_api/models/model_return.py b/samples/client/petstore/python-tornado/petstore_api/models/model_return.py index f2b29b99c0..3862245ef7 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/model_return.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/model_return.py @@ -17,7 +17,8 @@ import six class ModelReturn(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/name.py b/samples/client/petstore/python-tornado/petstore_api/models/name.py index 3e6237d213..b2e97e596a 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/name.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/name.py @@ -17,7 +17,8 @@ import six class Name(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/number_only.py b/samples/client/petstore/python-tornado/petstore_api/models/number_only.py index 1878b4c496..ab39ee8195 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/number_only.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/number_only.py @@ -17,7 +17,8 @@ import six class NumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/order.py b/samples/client/petstore/python-tornado/petstore_api/models/order.py index ede3f1068a..697d84447c 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/order.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/order.py @@ -17,7 +17,8 @@ import six class Order(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_boolean.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_boolean.py deleted file mode 100644 index 9b3aebd360..0000000000 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_boolean.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterBoolean(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterBoolean - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterBoolean): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py index a0b7b5e4da..b22b16c6fd 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/outer_composite.py @@ -17,7 +17,8 @@ import six class OuterComposite(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py index d26eaaa337..10d6be19a4 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/outer_enum.py @@ -17,7 +17,8 @@ import six class OuterEnum(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_number.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_number.py deleted file mode 100644 index a35587be65..0000000000 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_number.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterNumber(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterNumber - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterNumber): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-tornado/petstore_api/models/outer_string.py b/samples/client/petstore/python-tornado/petstore_api/models/outer_string.py deleted file mode 100644 index 736edacd1b..0000000000 --- a/samples/client/petstore/python-tornado/petstore_api/models/outer_string.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterString(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterString - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterString): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python-tornado/petstore_api/models/pet.py b/samples/client/petstore/python-tornado/petstore_api/models/pet.py index a1857f4f52..2789143777 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/pet.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/pet.py @@ -20,7 +20,8 @@ from petstore_api.models.tag import Tag # noqa: F401,E501 class Pet(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py b/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py index ca84207f20..2b257be18d 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/read_only_first.py @@ -17,7 +17,8 @@ import six class ReadOnlyFirst(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py b/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py index 0d0326476a..fa59b88747 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/special_model_name.py @@ -17,7 +17,8 @@ import six class SpecialModelName(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/tag.py b/samples/client/petstore/python-tornado/petstore_api/models/tag.py index 9b17ed1990..8fcc8a8486 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/tag.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/tag.py @@ -17,7 +17,8 @@ import six class Tag(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/petstore_api/models/user.py b/samples/client/petstore/python-tornado/petstore_api/models/user.py index 5bae305530..9736c47c1f 100644 --- a/samples/client/petstore/python-tornado/petstore_api/models/user.py +++ b/samples/client/petstore/python-tornado/petstore_api/models/user.py @@ -17,7 +17,8 @@ import six class User(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python-tornado/pom.xml b/samples/client/petstore/python-tornado/pom.xml index 57ceaeaa8d..821e12dfe8 100644 --- a/samples/client/petstore/python-tornado/pom.xml +++ b/samples/client/petstore/python-tornado/pom.xml @@ -1,6 +1,6 @@ 4.0.0 - io.swagger + org.openapitools PythonTornadoClientTests pom 1.0-SNAPSHOT diff --git a/samples/client/petstore/python-tornado/test/test_additional_properties_class.py b/samples/client/petstore/python-tornado/test/test_additional_properties_class.py index 77ccb73b02..fc9df3bbb5 100644 --- a/samples/client/petstore/python-tornado/test/test_additional_properties_class.py +++ b/samples/client/petstore/python-tornado/test/test_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_animal.py b/samples/client/petstore/python-tornado/test/test_animal.py index eb5f7cb930..179f1fbd0e 100644 --- a/samples/client/petstore/python-tornado/test/test_animal.py +++ b/samples/client/petstore/python-tornado/test/test_animal.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_animal_farm.py b/samples/client/petstore/python-tornado/test/test_animal_farm.py index 8f79946fa7..5c2c55fbd0 100644 --- a/samples/client/petstore/python-tornado/test/test_animal_farm.py +++ b/samples/client/petstore/python-tornado/test/test_animal_farm.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_another_fake_api.py b/samples/client/petstore/python-tornado/test/test_another_fake_api.py index c294aa9035..4b80dc4eda 100644 --- a/samples/client/petstore/python-tornado/test/test_another_fake_api.py +++ b/samples/client/petstore/python-tornado/test/test_another_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_api_response.py b/samples/client/petstore/python-tornado/test/test_api_response.py index 97ed978a5f..5031b458a0 100644 --- a/samples/client/petstore/python-tornado/test/test_api_response.py +++ b/samples/client/petstore/python-tornado/test/test_api_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_array_of_array_of_number_only.py b/samples/client/petstore/python-tornado/test/test_array_of_array_of_number_only.py index b617ed2cd3..a022330454 100644 --- a/samples/client/petstore/python-tornado/test/test_array_of_array_of_number_only.py +++ b/samples/client/petstore/python-tornado/test/test_array_of_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_array_of_number_only.py b/samples/client/petstore/python-tornado/test/test_array_of_number_only.py index 7439364c7b..1a928bf7d2 100644 --- a/samples/client/petstore/python-tornado/test/test_array_of_number_only.py +++ b/samples/client/petstore/python-tornado/test/test_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_array_test.py b/samples/client/petstore/python-tornado/test/test_array_test.py index d7feb2ac8f..c56b77b77e 100644 --- a/samples/client/petstore/python-tornado/test/test_array_test.py +++ b/samples/client/petstore/python-tornado/test/test_array_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_capitalization.py b/samples/client/petstore/python-tornado/test/test_capitalization.py index 4ac874e817..2ae7725b3f 100644 --- a/samples/client/petstore/python-tornado/test/test_capitalization.py +++ b/samples/client/petstore/python-tornado/test/test_capitalization.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_cat.py b/samples/client/petstore/python-tornado/test/test_cat.py index 370f108138..5ebd7908d2 100644 --- a/samples/client/petstore/python-tornado/test/test_cat.py +++ b/samples/client/petstore/python-tornado/test/test_cat.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_category.py b/samples/client/petstore/python-tornado/test/test_category.py index 7a9e40a1f6..6a59252128 100644 --- a/samples/client/petstore/python-tornado/test/test_category.py +++ b/samples/client/petstore/python-tornado/test/test_category.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_class_model.py b/samples/client/petstore/python-tornado/test/test_class_model.py index a42127abf5..12b7fb9940 100644 --- a/samples/client/petstore/python-tornado/test/test_class_model.py +++ b/samples/client/petstore/python-tornado/test/test_class_model.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_client.py b/samples/client/petstore/python-tornado/test/test_client.py index 81df726dbf..9e18c4310d 100644 --- a/samples/client/petstore/python-tornado/test/test_client.py +++ b/samples/client/petstore/python-tornado/test/test_client.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_dog.py b/samples/client/petstore/python-tornado/test/test_dog.py index ae13869b99..dc151f998d 100644 --- a/samples/client/petstore/python-tornado/test/test_dog.py +++ b/samples/client/petstore/python-tornado/test/test_dog.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_enum_arrays.py b/samples/client/petstore/python-tornado/test/test_enum_arrays.py index 144e48883e..be572508ef 100644 --- a/samples/client/petstore/python-tornado/test/test_enum_arrays.py +++ b/samples/client/petstore/python-tornado/test/test_enum_arrays.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_enum_class.py b/samples/client/petstore/python-tornado/test/test_enum_class.py index a47581d282..57eb14558a 100644 --- a/samples/client/petstore/python-tornado/test/test_enum_class.py +++ b/samples/client/petstore/python-tornado/test/test_enum_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_enum_test.py b/samples/client/petstore/python-tornado/test/test_enum_test.py index 7487efe9fa..ecd43afc70 100644 --- a/samples/client/petstore/python-tornado/test/test_enum_test.py +++ b/samples/client/petstore/python-tornado/test/test_enum_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_fake_api.py b/samples/client/petstore/python-tornado/test/test_fake_api.py index 00473d4a13..fc2cbef35f 100644 --- a/samples/client/petstore/python-tornado/test/test_fake_api.py +++ b/samples/client/petstore/python-tornado/test/test_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ @@ -53,6 +52,12 @@ class TestFakeApi(unittest.TestCase): """ pass + def test_test_body_with_query_params(self): + """Test case for test_body_with_query_params + + """ + pass + def test_test_client_model(self): """Test case for test_client_model diff --git a/samples/client/petstore/python-tornado/test/test_fake_classname_tags_123_api.py b/samples/client/petstore/python-tornado/test/test_fake_classname_tags_123_api.py index 8f40062a92..87cac0b9ef 100644 --- a/samples/client/petstore/python-tornado/test/test_fake_classname_tags_123_api.py +++ b/samples/client/petstore/python-tornado/test/test_fake_classname_tags_123_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_format_test.py b/samples/client/petstore/python-tornado/test/test_format_test.py index 59809b9f44..46707c77b7 100644 --- a/samples/client/petstore/python-tornado/test/test_format_test.py +++ b/samples/client/petstore/python-tornado/test/test_format_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_has_only_read_only.py b/samples/client/petstore/python-tornado/test/test_has_only_read_only.py index 26d14aef1f..2dc052a328 100644 --- a/samples/client/petstore/python-tornado/test/test_has_only_read_only.py +++ b/samples/client/petstore/python-tornado/test/test_has_only_read_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_list.py b/samples/client/petstore/python-tornado/test/test_list.py index c2cca419f3..a538a6b1ad 100644 --- a/samples/client/petstore/python-tornado/test/test_list.py +++ b/samples/client/petstore/python-tornado/test/test_list.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_map_test.py b/samples/client/petstore/python-tornado/test/test_map_test.py index 155797d9b2..0ba6481903 100644 --- a/samples/client/petstore/python-tornado/test/test_map_test.py +++ b/samples/client/petstore/python-tornado/test/test_map_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python-tornado/test/test_mixed_properties_and_additional_properties_class.py index 12a5676408..8893bdaf44 100644 --- a/samples/client/petstore/python-tornado/test/test_mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python-tornado/test/test_mixed_properties_and_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_model200_response.py b/samples/client/petstore/python-tornado/test/test_model200_response.py index 0a6576d295..fab761f4ed 100644 --- a/samples/client/petstore/python-tornado/test/test_model200_response.py +++ b/samples/client/petstore/python-tornado/test/test_model200_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_model_200_response.py b/samples/client/petstore/python-tornado/test/test_model_200_response.py deleted file mode 100644 index f577dd4214..0000000000 --- a/samples/client/petstore/python-tornado/test/test_model_200_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.model_200_response import Model200Response # noqa: E501 -from petstore_api.rest import ApiException - - -class TestModel200Response(unittest.TestCase): - """Model200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModel200Response(self): - """Test Model200Response""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.model_200_response.Model200Response() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-tornado/test/test_model_return.py b/samples/client/petstore/python-tornado/test/test_model_return.py index 64cf27f63a..ae3f15ee6b 100644 --- a/samples/client/petstore/python-tornado/test/test_model_return.py +++ b/samples/client/petstore/python-tornado/test/test_model_return.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_name.py b/samples/client/petstore/python-tornado/test/test_name.py index beba143f39..d6c7256399 100644 --- a/samples/client/petstore/python-tornado/test/test_name.py +++ b/samples/client/petstore/python-tornado/test/test_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_number_only.py b/samples/client/petstore/python-tornado/test/test_number_only.py index f2600c7952..7f6df65c80 100644 --- a/samples/client/petstore/python-tornado/test/test_number_only.py +++ b/samples/client/petstore/python-tornado/test/test_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_order.py b/samples/client/petstore/python-tornado/test/test_order.py index ed4f8c7d16..3e7d517d5c 100644 --- a/samples/client/petstore/python-tornado/test/test_order.py +++ b/samples/client/petstore/python-tornado/test/test_order.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_outer_boolean.py b/samples/client/petstore/python-tornado/test/test_outer_boolean.py deleted file mode 100644 index 4a7e446693..0000000000 --- a/samples/client/petstore/python-tornado/test/test_outer_boolean.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_boolean import OuterBoolean # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterBoolean(unittest.TestCase): - """OuterBoolean unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterBoolean(self): - """Test OuterBoolean""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_boolean.OuterBoolean() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-tornado/test/test_outer_composite.py b/samples/client/petstore/python-tornado/test/test_outer_composite.py index e444e695fe..dcb078cd21 100644 --- a/samples/client/petstore/python-tornado/test/test_outer_composite.py +++ b/samples/client/petstore/python-tornado/test/test_outer_composite.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_outer_enum.py b/samples/client/petstore/python-tornado/test/test_outer_enum.py index e3fb15e1b6..472e36e168 100644 --- a/samples/client/petstore/python-tornado/test/test_outer_enum.py +++ b/samples/client/petstore/python-tornado/test/test_outer_enum.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_outer_number.py b/samples/client/petstore/python-tornado/test/test_outer_number.py deleted file mode 100644 index da5d3ceee6..0000000000 --- a/samples/client/petstore/python-tornado/test/test_outer_number.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_number import OuterNumber # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterNumber(unittest.TestCase): - """OuterNumber unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterNumber(self): - """Test OuterNumber""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_number.OuterNumber() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-tornado/test/test_outer_string.py b/samples/client/petstore/python-tornado/test/test_outer_string.py deleted file mode 100644 index 02b4967e3b..0000000000 --- a/samples/client/petstore/python-tornado/test/test_outer_string.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_string import OuterString # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterString(unittest.TestCase): - """OuterString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterString(self): - """Test OuterString""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_string.OuterString() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python-tornado/test/test_pet.py b/samples/client/petstore/python-tornado/test/test_pet.py index d8df24f92b..bc5cc30fac 100644 --- a/samples/client/petstore/python-tornado/test/test_pet.py +++ b/samples/client/petstore/python-tornado/test/test_pet.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_pet_api.py b/samples/client/petstore/python-tornado/test/test_pet_api.py index 1e2dd1c42b..ffd3e25c4c 100644 --- a/samples/client/petstore/python-tornado/test/test_pet_api.py +++ b/samples/client/petstore/python-tornado/test/test_pet_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_read_only_first.py b/samples/client/petstore/python-tornado/test/test_read_only_first.py index 94bf3d127d..2b647b83fc 100644 --- a/samples/client/petstore/python-tornado/test/test_read_only_first.py +++ b/samples/client/petstore/python-tornado/test/test_read_only_first.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_special_model_name.py b/samples/client/petstore/python-tornado/test/test_special_model_name.py index 002f660cc2..4edfec164f 100644 --- a/samples/client/petstore/python-tornado/test/test_special_model_name.py +++ b/samples/client/petstore/python-tornado/test/test_special_model_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_store_api.py b/samples/client/petstore/python-tornado/test/test_store_api.py index 537c1bc03f..37bf771d13 100644 --- a/samples/client/petstore/python-tornado/test/test_store_api.py +++ b/samples/client/petstore/python-tornado/test/test_store_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_tag.py b/samples/client/petstore/python-tornado/test/test_tag.py index e9bc1d471d..2c3c5157e7 100644 --- a/samples/client/petstore/python-tornado/test/test_tag.py +++ b/samples/client/petstore/python-tornado/test/test_tag.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_user.py b/samples/client/petstore/python-tornado/test/test_user.py index 3575746c00..ad9386b690 100644 --- a/samples/client/petstore/python-tornado/test/test_user.py +++ b/samples/client/petstore/python-tornado/test/test_user.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/test/test_user_api.py b/samples/client/petstore/python-tornado/test/test_user_api.py index 4ebd90f95e..6e8aed4f18 100644 --- a/samples/client/petstore/python-tornado/test/test_user_api.py +++ b/samples/client/petstore/python-tornado/test/test_user_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python-tornado/tests/test_pet_api.py b/samples/client/petstore/python-tornado/tests/test_pet_api.py index 90be23b2ba..40ea58d791 100644 --- a/samples/client/petstore/python-tornado/tests/test_pet_api.py +++ b/samples/client/petstore/python-tornado/tests/test_pet_api.py @@ -46,7 +46,7 @@ class PetApiTests(AsyncTestCase): self.category.name = "dog" self.tag = petstore_api.Tag() self.tag.id = id_gen() - self.tag.name = "swagger-codegen-python-pet-tag" + self.tag.name = "opeanpi-generator-python-pet-tag" self.pet = petstore_api.Pet(name="hello kity", photo_urls=["http://foo.bar.com/1", "http://foo.bar.com/2"]) self.pet.id = id_gen() self.pet.status = "sold" diff --git a/samples/client/petstore/python/petstore_api/api/another_fake_api.py b/samples/client/petstore/python/petstore_api/api/another_fake_api.py index 578d0a3c60..3f1efdf68b 100644 --- a/samples/client/petstore/python/petstore_api/api/another_fake_api.py +++ b/samples/client/petstore/python/petstore_api/api/another_fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class AnotherFakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api/fake_api.py b/samples/client/petstore/python/petstore_api/api/fake_api.py index 31d0b987b1..be7767d8b6 100644 --- a/samples/client/petstore/python/petstore_api/api/fake_api.py +++ b/samples/client/petstore/python/petstore_api/api/fake_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py b/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py index 7ed837ba7c..1f4d95a148 100644 --- a/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py +++ b/samples/client/petstore/python/petstore_api/api/fake_classname_tags_123_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class FakeClassnameTags123Api(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api/pet_api.py b/samples/client/petstore/python/petstore_api/api/pet_api.py index ecddb054d3..5b62a0b12a 100644 --- a/samples/client/petstore/python/petstore_api/api/pet_api.py +++ b/samples/client/petstore/python/petstore_api/api/pet_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class PetApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api/store_api.py b/samples/client/petstore/python/petstore_api/api/store_api.py index ae2099b665..235a7b49a3 100644 --- a/samples/client/petstore/python/petstore_api/api/store_api.py +++ b/samples/client/petstore/python/petstore_api/api/store_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class StoreApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api/user_api.py b/samples/client/petstore/python/petstore_api/api/user_api.py index af116065a8..1b016f2999 100644 --- a/samples/client/petstore/python/petstore_api/api/user_api.py +++ b/samples/client/petstore/python/petstore_api/api/user_api.py @@ -21,7 +21,8 @@ from petstore_api.api_client import ApiClient class UserApi(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/api_client.py b/samples/client/petstore/python/petstore_api/api_client.py index 330a6aa606..432ab964f3 100644 --- a/samples/client/petstore/python/petstore_api/api_client.py +++ b/samples/client/petstore/python/petstore_api/api_client.py @@ -35,7 +35,8 @@ class ApiClient(object): the methods and models for each application are generated from the OpenAPI templates. - NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. :param configuration: .Configuration object for this client diff --git a/samples/client/petstore/python/petstore_api/configuration.py b/samples/client/petstore/python/petstore_api/configuration.py index fe59628880..67928abe37 100644 --- a/samples/client/petstore/python/petstore_api/configuration.py +++ b/samples/client/petstore/python/petstore_api/configuration.py @@ -37,7 +37,7 @@ class TypeWithDefault(type): class Configuration(six.with_metaclass(TypeWithDefault, object)): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually. diff --git a/samples/client/petstore/python/petstore_api/models/additional_properties_class.py b/samples/client/petstore/python/petstore_api/models/additional_properties_class.py index 9522f052a4..dc4648ae1c 100644 --- a/samples/client/petstore/python/petstore_api/models/additional_properties_class.py +++ b/samples/client/petstore/python/petstore_api/models/additional_properties_class.py @@ -17,7 +17,8 @@ import six class AdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/animal.py b/samples/client/petstore/python/petstore_api/models/animal.py index f36776cba4..4a07680265 100644 --- a/samples/client/petstore/python/petstore_api/models/animal.py +++ b/samples/client/petstore/python/petstore_api/models/animal.py @@ -17,7 +17,8 @@ import six class Animal(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/animal_farm.py b/samples/client/petstore/python/petstore_api/models/animal_farm.py index 8df0675df2..238d580ba5 100644 --- a/samples/client/petstore/python/petstore_api/models/animal_farm.py +++ b/samples/client/petstore/python/petstore_api/models/animal_farm.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class AnimalFarm(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/api_response.py b/samples/client/petstore/python/petstore_api/models/api_response.py index f06d01c690..e629830304 100644 --- a/samples/client/petstore/python/petstore_api/models/api_response.py +++ b/samples/client/petstore/python/petstore_api/models/api_response.py @@ -17,7 +17,8 @@ import six class ApiResponse(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py b/samples/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py index 00f6fa0f67..fde218a466 100644 --- a/samples/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py +++ b/samples/client/petstore/python/petstore_api/models/array_of_array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/array_of_number_only.py b/samples/client/petstore/python/petstore_api/models/array_of_number_only.py index 4c8fef5fbd..8999e563c4 100644 --- a/samples/client/petstore/python/petstore_api/models/array_of_number_only.py +++ b/samples/client/petstore/python/petstore_api/models/array_of_number_only.py @@ -17,7 +17,8 @@ import six class ArrayOfNumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/array_test.py b/samples/client/petstore/python/petstore_api/models/array_test.py index 9f2c4d7ebf..04a871e8f7 100644 --- a/samples/client/petstore/python/petstore_api/models/array_test.py +++ b/samples/client/petstore/python/petstore_api/models/array_test.py @@ -19,7 +19,8 @@ from petstore_api.models.read_only_first import ReadOnlyFirst # noqa: F401,E501 class ArrayTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/capitalization.py b/samples/client/petstore/python/petstore_api/models/capitalization.py index 3f4b86e89d..923f5c4aae 100644 --- a/samples/client/petstore/python/petstore_api/models/capitalization.py +++ b/samples/client/petstore/python/petstore_api/models/capitalization.py @@ -17,7 +17,8 @@ import six class Capitalization(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/cat.py b/samples/client/petstore/python/petstore_api/models/cat.py index b61abd5361..808409c226 100644 --- a/samples/client/petstore/python/petstore_api/models/cat.py +++ b/samples/client/petstore/python/petstore_api/models/cat.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Cat(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/category.py b/samples/client/petstore/python/petstore_api/models/category.py index 8a6068cd01..9fbd44a7b3 100644 --- a/samples/client/petstore/python/petstore_api/models/category.py +++ b/samples/client/petstore/python/petstore_api/models/category.py @@ -17,7 +17,8 @@ import six class Category(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/class_model.py b/samples/client/petstore/python/petstore_api/models/class_model.py index b0c6c7c4ee..e207ba41ec 100644 --- a/samples/client/petstore/python/petstore_api/models/class_model.py +++ b/samples/client/petstore/python/petstore_api/models/class_model.py @@ -17,7 +17,8 @@ import six class ClassModel(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/client.py b/samples/client/petstore/python/petstore_api/models/client.py index bdcf3d52d8..e742468e77 100644 --- a/samples/client/petstore/python/petstore_api/models/client.py +++ b/samples/client/petstore/python/petstore_api/models/client.py @@ -17,7 +17,8 @@ import six class Client(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/dog.py b/samples/client/petstore/python/petstore_api/models/dog.py index 221eaffc77..f7fa73c9d4 100644 --- a/samples/client/petstore/python/petstore_api/models/dog.py +++ b/samples/client/petstore/python/petstore_api/models/dog.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class Dog(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/enum_arrays.py b/samples/client/petstore/python/petstore_api/models/enum_arrays.py index 93f43630a8..df4363c356 100644 --- a/samples/client/petstore/python/petstore_api/models/enum_arrays.py +++ b/samples/client/petstore/python/petstore_api/models/enum_arrays.py @@ -17,7 +17,8 @@ import six class EnumArrays(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/enum_class.py b/samples/client/petstore/python/petstore_api/models/enum_class.py index 85641c85a9..182197d8aa 100644 --- a/samples/client/petstore/python/petstore_api/models/enum_class.py +++ b/samples/client/petstore/python/petstore_api/models/enum_class.py @@ -17,7 +17,8 @@ import six class EnumClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/enum_test.py b/samples/client/petstore/python/petstore_api/models/enum_test.py index 520e323056..cfe0ebcb84 100644 --- a/samples/client/petstore/python/petstore_api/models/enum_test.py +++ b/samples/client/petstore/python/petstore_api/models/enum_test.py @@ -19,7 +19,8 @@ from petstore_api.models.outer_enum import OuterEnum # noqa: F401,E501 class EnumTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/format_test.py b/samples/client/petstore/python/petstore_api/models/format_test.py index 9fd5d8cdfa..68c8953ee1 100644 --- a/samples/client/petstore/python/petstore_api/models/format_test.py +++ b/samples/client/petstore/python/petstore_api/models/format_test.py @@ -17,7 +17,8 @@ import six class FormatTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/has_only_read_only.py b/samples/client/petstore/python/petstore_api/models/has_only_read_only.py index 098d851dd1..41db3ff719 100644 --- a/samples/client/petstore/python/petstore_api/models/has_only_read_only.py +++ b/samples/client/petstore/python/petstore_api/models/has_only_read_only.py @@ -17,7 +17,8 @@ import six class HasOnlyReadOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/list.py b/samples/client/petstore/python/petstore_api/models/list.py index ebd6194c36..08e12ad531 100644 --- a/samples/client/petstore/python/petstore_api/models/list.py +++ b/samples/client/petstore/python/petstore_api/models/list.py @@ -17,7 +17,8 @@ import six class List(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/map_test.py b/samples/client/petstore/python/petstore_api/models/map_test.py index 15d1eb90ff..02ff04f983 100644 --- a/samples/client/petstore/python/petstore_api/models/map_test.py +++ b/samples/client/petstore/python/petstore_api/models/map_test.py @@ -17,7 +17,8 @@ import six class MapTest(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py index 24b9809ffc..a38141493f 100644 --- a/samples/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python/petstore_api/models/mixed_properties_and_additional_properties_class.py @@ -19,7 +19,8 @@ from petstore_api.models.animal import Animal # noqa: F401,E501 class MixedPropertiesAndAdditionalPropertiesClass(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/model200_response.py b/samples/client/petstore/python/petstore_api/models/model200_response.py index f4451d15a2..ec778cdcb7 100644 --- a/samples/client/petstore/python/petstore_api/models/model200_response.py +++ b/samples/client/petstore/python/petstore_api/models/model200_response.py @@ -17,7 +17,8 @@ import six class Model200Response(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/model_200_response.py b/samples/client/petstore/python/petstore_api/models/model_200_response.py deleted file mode 100644 index 60f9c96a67..0000000000 --- a/samples/client/petstore/python/petstore_api/models/model_200_response.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class Model200Response(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'int', - '_class': 'str' - } - - attribute_map = { - 'name': 'name', - '_class': 'class' - } - - def __init__(self, name=None, _class=None): # noqa: E501 - """Model200Response - a model defined in Swagger""" # noqa: E501 - - self._name = None - self.__class = None - self.discriminator = None - - if name is not None: - self.name = name - if _class is not None: - self._class = _class - - @property - def name(self): - """Gets the name of this Model200Response. # noqa: E501 - - - :return: The name of this Model200Response. # noqa: E501 - :rtype: int - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Model200Response. - - - :param name: The name of this Model200Response. # noqa: E501 - :type: int - """ - - self._name = name - - @property - def _class(self): - """Gets the _class of this Model200Response. # noqa: E501 - - - :return: The _class of this Model200Response. # noqa: E501 - :rtype: str - """ - return self.__class - - @_class.setter - def _class(self, _class): - """Sets the _class of this Model200Response. - - - :param _class: The _class of this Model200Response. # noqa: E501 - :type: str - """ - - self.__class = _class - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Model200Response): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python/petstore_api/models/model_return.py b/samples/client/petstore/python/petstore_api/models/model_return.py index f2b29b99c0..3862245ef7 100644 --- a/samples/client/petstore/python/petstore_api/models/model_return.py +++ b/samples/client/petstore/python/petstore_api/models/model_return.py @@ -17,7 +17,8 @@ import six class ModelReturn(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/name.py b/samples/client/petstore/python/petstore_api/models/name.py index 3e6237d213..b2e97e596a 100644 --- a/samples/client/petstore/python/petstore_api/models/name.py +++ b/samples/client/petstore/python/petstore_api/models/name.py @@ -17,7 +17,8 @@ import six class Name(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/number_only.py b/samples/client/petstore/python/petstore_api/models/number_only.py index 1878b4c496..ab39ee8195 100644 --- a/samples/client/petstore/python/petstore_api/models/number_only.py +++ b/samples/client/petstore/python/petstore_api/models/number_only.py @@ -17,7 +17,8 @@ import six class NumberOnly(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/order.py b/samples/client/petstore/python/petstore_api/models/order.py index ede3f1068a..697d84447c 100644 --- a/samples/client/petstore/python/petstore_api/models/order.py +++ b/samples/client/petstore/python/petstore_api/models/order.py @@ -17,7 +17,8 @@ import six class Order(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/outer_boolean.py b/samples/client/petstore/python/petstore_api/models/outer_boolean.py deleted file mode 100644 index 9b3aebd360..0000000000 --- a/samples/client/petstore/python/petstore_api/models/outer_boolean.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterBoolean(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterBoolean - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterBoolean): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python/petstore_api/models/outer_composite.py b/samples/client/petstore/python/petstore_api/models/outer_composite.py index a0b7b5e4da..b22b16c6fd 100644 --- a/samples/client/petstore/python/petstore_api/models/outer_composite.py +++ b/samples/client/petstore/python/petstore_api/models/outer_composite.py @@ -17,7 +17,8 @@ import six class OuterComposite(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/outer_enum.py b/samples/client/petstore/python/petstore_api/models/outer_enum.py index d26eaaa337..10d6be19a4 100644 --- a/samples/client/petstore/python/petstore_api/models/outer_enum.py +++ b/samples/client/petstore/python/petstore_api/models/outer_enum.py @@ -17,7 +17,8 @@ import six class OuterEnum(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/outer_number.py b/samples/client/petstore/python/petstore_api/models/outer_number.py deleted file mode 100644 index a35587be65..0000000000 --- a/samples/client/petstore/python/petstore_api/models/outer_number.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterNumber(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterNumber - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterNumber): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python/petstore_api/models/outer_string.py b/samples/client/petstore/python/petstore_api/models/outer_string.py deleted file mode 100644 index 736edacd1b..0000000000 --- a/samples/client/petstore/python/petstore_api/models/outer_string.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - - -class OuterString(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """OuterString - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OuterString): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/samples/client/petstore/python/petstore_api/models/pet.py b/samples/client/petstore/python/petstore_api/models/pet.py index a1857f4f52..2789143777 100644 --- a/samples/client/petstore/python/petstore_api/models/pet.py +++ b/samples/client/petstore/python/petstore_api/models/pet.py @@ -20,7 +20,8 @@ from petstore_api.models.tag import Tag # noqa: F401,E501 class Pet(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/read_only_first.py b/samples/client/petstore/python/petstore_api/models/read_only_first.py index ca84207f20..2b257be18d 100644 --- a/samples/client/petstore/python/petstore_api/models/read_only_first.py +++ b/samples/client/petstore/python/petstore_api/models/read_only_first.py @@ -17,7 +17,8 @@ import six class ReadOnlyFirst(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/special_model_name.py b/samples/client/petstore/python/petstore_api/models/special_model_name.py index 0d0326476a..fa59b88747 100644 --- a/samples/client/petstore/python/petstore_api/models/special_model_name.py +++ b/samples/client/petstore/python/petstore_api/models/special_model_name.py @@ -17,7 +17,8 @@ import six class SpecialModelName(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/tag.py b/samples/client/petstore/python/petstore_api/models/tag.py index 9b17ed1990..8fcc8a8486 100644 --- a/samples/client/petstore/python/petstore_api/models/tag.py +++ b/samples/client/petstore/python/petstore_api/models/tag.py @@ -17,7 +17,8 @@ import six class Tag(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/petstore_api/models/user.py b/samples/client/petstore/python/petstore_api/models/user.py index 5bae305530..9736c47c1f 100644 --- a/samples/client/petstore/python/petstore_api/models/user.py +++ b/samples/client/petstore/python/petstore_api/models/user.py @@ -17,7 +17,8 @@ import six class User(object): - """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ diff --git a/samples/client/petstore/python/pom.xml b/samples/client/petstore/python/pom.xml index 6eaa49eaea..db2d09246c 100644 --- a/samples/client/petstore/python/pom.xml +++ b/samples/client/petstore/python/pom.xml @@ -1,10 +1,10 @@ 4.0.0 - io.swagger + org.openapitools PythonPetstoreClientTests pom 1.0-SNAPSHOT - Python Swagger Petstore Client + Python OpenAPI Petstore Client diff --git a/samples/client/petstore/python/test/test_additional_properties_class.py b/samples/client/petstore/python/test/test_additional_properties_class.py index 77ccb73b02..fc9df3bbb5 100644 --- a/samples/client/petstore/python/test/test_additional_properties_class.py +++ b/samples/client/petstore/python/test/test_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_animal.py b/samples/client/petstore/python/test/test_animal.py index eb5f7cb930..179f1fbd0e 100644 --- a/samples/client/petstore/python/test/test_animal.py +++ b/samples/client/petstore/python/test/test_animal.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_animal_farm.py b/samples/client/petstore/python/test/test_animal_farm.py index 8f79946fa7..5c2c55fbd0 100644 --- a/samples/client/petstore/python/test/test_animal_farm.py +++ b/samples/client/petstore/python/test/test_animal_farm.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_another_fake_api.py b/samples/client/petstore/python/test/test_another_fake_api.py index c294aa9035..4b80dc4eda 100644 --- a/samples/client/petstore/python/test/test_another_fake_api.py +++ b/samples/client/petstore/python/test/test_another_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_api_response.py b/samples/client/petstore/python/test/test_api_response.py index 97ed978a5f..5031b458a0 100644 --- a/samples/client/petstore/python/test/test_api_response.py +++ b/samples/client/petstore/python/test/test_api_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_array_of_array_of_number_only.py b/samples/client/petstore/python/test/test_array_of_array_of_number_only.py index b617ed2cd3..a022330454 100644 --- a/samples/client/petstore/python/test/test_array_of_array_of_number_only.py +++ b/samples/client/petstore/python/test/test_array_of_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_array_of_number_only.py b/samples/client/petstore/python/test/test_array_of_number_only.py index 7439364c7b..1a928bf7d2 100644 --- a/samples/client/petstore/python/test/test_array_of_number_only.py +++ b/samples/client/petstore/python/test/test_array_of_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_array_test.py b/samples/client/petstore/python/test/test_array_test.py index d7feb2ac8f..c56b77b77e 100644 --- a/samples/client/petstore/python/test/test_array_test.py +++ b/samples/client/petstore/python/test/test_array_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_capitalization.py b/samples/client/petstore/python/test/test_capitalization.py index 4ac874e817..2ae7725b3f 100644 --- a/samples/client/petstore/python/test/test_capitalization.py +++ b/samples/client/petstore/python/test/test_capitalization.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_cat.py b/samples/client/petstore/python/test/test_cat.py index 370f108138..5ebd7908d2 100644 --- a/samples/client/petstore/python/test/test_cat.py +++ b/samples/client/petstore/python/test/test_cat.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_category.py b/samples/client/petstore/python/test/test_category.py index 7a9e40a1f6..6a59252128 100644 --- a/samples/client/petstore/python/test/test_category.py +++ b/samples/client/petstore/python/test/test_category.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_class_model.py b/samples/client/petstore/python/test/test_class_model.py index a42127abf5..12b7fb9940 100644 --- a/samples/client/petstore/python/test/test_class_model.py +++ b/samples/client/petstore/python/test/test_class_model.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_client.py b/samples/client/petstore/python/test/test_client.py index 81df726dbf..9e18c4310d 100644 --- a/samples/client/petstore/python/test/test_client.py +++ b/samples/client/petstore/python/test/test_client.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_dog.py b/samples/client/petstore/python/test/test_dog.py index ae13869b99..dc151f998d 100644 --- a/samples/client/petstore/python/test/test_dog.py +++ b/samples/client/petstore/python/test/test_dog.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_enum_arrays.py b/samples/client/petstore/python/test/test_enum_arrays.py index 144e48883e..be572508ef 100644 --- a/samples/client/petstore/python/test/test_enum_arrays.py +++ b/samples/client/petstore/python/test/test_enum_arrays.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_enum_class.py b/samples/client/petstore/python/test/test_enum_class.py index a47581d282..57eb14558a 100644 --- a/samples/client/petstore/python/test/test_enum_class.py +++ b/samples/client/petstore/python/test/test_enum_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_enum_test.py b/samples/client/petstore/python/test/test_enum_test.py index 7487efe9fa..ecd43afc70 100644 --- a/samples/client/petstore/python/test/test_enum_test.py +++ b/samples/client/petstore/python/test/test_enum_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_fake_api.py b/samples/client/petstore/python/test/test_fake_api.py index 00473d4a13..fc2cbef35f 100644 --- a/samples/client/petstore/python/test/test_fake_api.py +++ b/samples/client/petstore/python/test/test_fake_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ @@ -53,6 +52,12 @@ class TestFakeApi(unittest.TestCase): """ pass + def test_test_body_with_query_params(self): + """Test case for test_body_with_query_params + + """ + pass + def test_test_client_model(self): """Test case for test_client_model diff --git a/samples/client/petstore/python/test/test_fake_classname_tags_123_api.py b/samples/client/petstore/python/test/test_fake_classname_tags_123_api.py index 8f40062a92..87cac0b9ef 100644 --- a/samples/client/petstore/python/test/test_fake_classname_tags_123_api.py +++ b/samples/client/petstore/python/test/test_fake_classname_tags_123_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_format_test.py b/samples/client/petstore/python/test/test_format_test.py index 59809b9f44..46707c77b7 100644 --- a/samples/client/petstore/python/test/test_format_test.py +++ b/samples/client/petstore/python/test/test_format_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_has_only_read_only.py b/samples/client/petstore/python/test/test_has_only_read_only.py index 26d14aef1f..2dc052a328 100644 --- a/samples/client/petstore/python/test/test_has_only_read_only.py +++ b/samples/client/petstore/python/test/test_has_only_read_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_list.py b/samples/client/petstore/python/test/test_list.py index c2cca419f3..a538a6b1ad 100644 --- a/samples/client/petstore/python/test/test_list.py +++ b/samples/client/petstore/python/test/test_list.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_map_test.py b/samples/client/petstore/python/test/test_map_test.py index 155797d9b2..0ba6481903 100644 --- a/samples/client/petstore/python/test/test_map_test.py +++ b/samples/client/petstore/python/test/test_map_test.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_mixed_properties_and_additional_properties_class.py b/samples/client/petstore/python/test/test_mixed_properties_and_additional_properties_class.py index 12a5676408..8893bdaf44 100644 --- a/samples/client/petstore/python/test/test_mixed_properties_and_additional_properties_class.py +++ b/samples/client/petstore/python/test/test_mixed_properties_and_additional_properties_class.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_model200_response.py b/samples/client/petstore/python/test/test_model200_response.py index 0a6576d295..fab761f4ed 100644 --- a/samples/client/petstore/python/test/test_model200_response.py +++ b/samples/client/petstore/python/test/test_model200_response.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_model_200_response.py b/samples/client/petstore/python/test/test_model_200_response.py deleted file mode 100644 index f577dd4214..0000000000 --- a/samples/client/petstore/python/test/test_model_200_response.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.model_200_response import Model200Response # noqa: E501 -from petstore_api.rest import ApiException - - -class TestModel200Response(unittest.TestCase): - """Model200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testModel200Response(self): - """Test Model200Response""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.model_200_response.Model200Response() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python/test/test_model_return.py b/samples/client/petstore/python/test/test_model_return.py index 64cf27f63a..ae3f15ee6b 100644 --- a/samples/client/petstore/python/test/test_model_return.py +++ b/samples/client/petstore/python/test/test_model_return.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_name.py b/samples/client/petstore/python/test/test_name.py index beba143f39..d6c7256399 100644 --- a/samples/client/petstore/python/test/test_name.py +++ b/samples/client/petstore/python/test/test_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_number_only.py b/samples/client/petstore/python/test/test_number_only.py index f2600c7952..7f6df65c80 100644 --- a/samples/client/petstore/python/test/test_number_only.py +++ b/samples/client/petstore/python/test/test_number_only.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_order.py b/samples/client/petstore/python/test/test_order.py index ed4f8c7d16..3e7d517d5c 100644 --- a/samples/client/petstore/python/test/test_order.py +++ b/samples/client/petstore/python/test/test_order.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_outer_boolean.py b/samples/client/petstore/python/test/test_outer_boolean.py deleted file mode 100644 index 4a7e446693..0000000000 --- a/samples/client/petstore/python/test/test_outer_boolean.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_boolean import OuterBoolean # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterBoolean(unittest.TestCase): - """OuterBoolean unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterBoolean(self): - """Test OuterBoolean""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_boolean.OuterBoolean() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python/test/test_outer_composite.py b/samples/client/petstore/python/test/test_outer_composite.py index e444e695fe..dcb078cd21 100644 --- a/samples/client/petstore/python/test/test_outer_composite.py +++ b/samples/client/petstore/python/test/test_outer_composite.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_outer_enum.py b/samples/client/petstore/python/test/test_outer_enum.py index e3fb15e1b6..472e36e168 100644 --- a/samples/client/petstore/python/test/test_outer_enum.py +++ b/samples/client/petstore/python/test/test_outer_enum.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_outer_number.py b/samples/client/petstore/python/test/test_outer_number.py deleted file mode 100644 index da5d3ceee6..0000000000 --- a/samples/client/petstore/python/test/test_outer_number.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_number import OuterNumber # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterNumber(unittest.TestCase): - """OuterNumber unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterNumber(self): - """Test OuterNumber""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_number.OuterNumber() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python/test/test_outer_string.py b/samples/client/petstore/python/test/test_outer_string.py deleted file mode 100644 index 02b4967e3b..0000000000 --- a/samples/client/petstore/python/test/test_outer_string.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -""" - Swagger Petstore - - This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 - - OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import unittest - -import petstore_api -from petstore_api.models.outer_string import OuterString # noqa: E501 -from petstore_api.rest import ApiException - - -class TestOuterString(unittest.TestCase): - """OuterString unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testOuterString(self): - """Test OuterString""" - # FIXME: construct object with mandatory attributes with example values - # model = petstore_api.models.outer_string.OuterString() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/samples/client/petstore/python/test/test_pet.py b/samples/client/petstore/python/test/test_pet.py index d8df24f92b..bc5cc30fac 100644 --- a/samples/client/petstore/python/test/test_pet.py +++ b/samples/client/petstore/python/test/test_pet.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_pet_api.py b/samples/client/petstore/python/test/test_pet_api.py index 1e2dd1c42b..ffd3e25c4c 100644 --- a/samples/client/petstore/python/test/test_pet_api.py +++ b/samples/client/petstore/python/test/test_pet_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_read_only_first.py b/samples/client/petstore/python/test/test_read_only_first.py index 94bf3d127d..2b647b83fc 100644 --- a/samples/client/petstore/python/test/test_read_only_first.py +++ b/samples/client/petstore/python/test/test_read_only_first.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_special_model_name.py b/samples/client/petstore/python/test/test_special_model_name.py index 002f660cc2..4edfec164f 100644 --- a/samples/client/petstore/python/test/test_special_model_name.py +++ b/samples/client/petstore/python/test/test_special_model_name.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_store_api.py b/samples/client/petstore/python/test/test_store_api.py index 537c1bc03f..37bf771d13 100644 --- a/samples/client/petstore/python/test/test_store_api.py +++ b/samples/client/petstore/python/test/test_store_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_tag.py b/samples/client/petstore/python/test/test_tag.py index e9bc1d471d..2c3c5157e7 100644 --- a/samples/client/petstore/python/test/test_tag.py +++ b/samples/client/petstore/python/test/test_tag.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_user.py b/samples/client/petstore/python/test/test_user.py index 3575746c00..ad9386b690 100644 --- a/samples/client/petstore/python/test/test_user.py +++ b/samples/client/petstore/python/test/test_user.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/test/test_user_api.py b/samples/client/petstore/python/test/test_user_api.py index 4ebd90f95e..6e8aed4f18 100644 --- a/samples/client/petstore/python/test/test_user_api.py +++ b/samples/client/petstore/python/test/test_user_api.py @@ -1,13 +1,12 @@ # coding: utf-8 """ - Swagger Petstore + OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ diff --git a/samples/client/petstore/python/tests/test_api_client.py b/samples/client/petstore/python/tests/test_api_client.py index 1e0a83accb..a41dbaba9c 100644 --- a/samples/client/petstore/python/tests/test_api_client.py +++ b/samples/client/petstore/python/tests/test_api_client.py @@ -5,7 +5,7 @@ """ Run the tests. $ pip install nose (optional) -$ cd SwaggerPetstore-python +$ cd OpenAPIetstore-python $ nosetests -v """ diff --git a/samples/client/petstore/python/tests/test_deserialization.py b/samples/client/petstore/python/tests/test_deserialization.py index d7429dea41..5c1540d994 100644 --- a/samples/client/petstore/python/tests/test_deserialization.py +++ b/samples/client/petstore/python/tests/test_deserialization.py @@ -5,7 +5,7 @@ """ Run the tests. $ pip install nose (optional) -$ cd SwaggerPetstore-python +$ cd OpenAPIPetstore-python $ nosetests -v """ import os diff --git a/samples/client/petstore/python/tests/test_pet_api.py b/samples/client/petstore/python/tests/test_pet_api.py index 4a8a773159..9db0c2f0f6 100644 --- a/samples/client/petstore/python/tests/test_pet_api.py +++ b/samples/client/petstore/python/tests/test_pet_api.py @@ -68,7 +68,7 @@ class PetApiTests(unittest.TestCase): self.category.name = "dog" self.tag = petstore_api.Tag() self.tag.id = id_gen() - self.tag.name = "swagger-codegen-python-pet-tag" + self.tag.name = "python-pet-tag" self.pet = petstore_api.Pet(name="hello kity", photo_urls=["http://foo.bar.com/1", "http://foo.bar.com/2"]) self.pet.id = id_gen() self.pet.status = "sold" @@ -108,13 +108,13 @@ class PetApiTests(unittest.TestCase): body=json.dumps(self.api_client.sanitize_for_serialization(self.pet)), headers={'Content-Type': 'application/json', 'Authorization': 'Bearer ', - 'User-Agent': 'Swagger-Codegen/1.0.0/python'}, + 'User-Agent': 'OpenAPI-Generator/1.0.0/python'}, preload_content=True, timeout=TimeoutWithEqual(total=5)) mock_pool.expect_request('POST', 'http://localhost/v2/pet', body=json.dumps(self.api_client.sanitize_for_serialization(self.pet)), headers={'Content-Type': 'application/json', 'Authorization': 'Bearer ', - 'User-Agent': 'Swagger-Codegen/1.0.0/python'}, + 'User-Agent': 'OpenAPI-Generator/1.0.0/python'}, preload_content=True, timeout=TimeoutWithEqual(connect=1, read=2)) self.pet_api.add_pet(self.pet, _request_timeout=5) diff --git a/samples/client/petstore/python/tests/test_store_api.py b/samples/client/petstore/python/tests/test_store_api.py index 095f5e7b23..1817477aba 100644 --- a/samples/client/petstore/python/tests/test_store_api.py +++ b/samples/client/petstore/python/tests/test_store_api.py @@ -5,7 +5,7 @@ """ Run the tests. $ pip install nose (optional) -$ cd SwaggerPetstore-python +$ cd OpenAP/Petstore-python $ nosetests -v """ diff --git a/samples/client/petstore/ruby/Gemfile.lock b/samples/client/petstore/ruby/Gemfile.lock index 9ebaef5ad5..1dc6956be6 100644 --- a/samples/client/petstore/ruby/Gemfile.lock +++ b/samples/client/petstore/ruby/Gemfile.lock @@ -64,6 +64,3 @@ DEPENDENCIES rspec (~> 3.6, >= 3.6.0) vcr (~> 3.0, >= 3.0.1) webmock (~> 1.24, >= 1.24.3) - -BUNDLED WITH - 1.12.3 diff --git a/samples/client/petstore/ruby/spec/pet_spec.rb b/samples/client/petstore/ruby/spec/pet_spec.rb index 4ccea494b8..728d0e5345 100644 --- a/samples/client/petstore/ruby/spec/pet_spec.rb +++ b/samples/client/petstore/ruby/spec/pet_spec.rb @@ -79,7 +79,7 @@ describe "Pet" do expect(e.code).to eq(404) expect(e.message).to eq('Not Found') expect(e.response_body).to eq('{"code":1,"type":"error","message":"Pet not found"}') - expect(e.response_headers).to be_a(Hash) + expect(e.response_headers).to include('Content-Type') expect(e.response_headers['Content-Type']).to eq('application/json') end end