From ce04e9b6a2db14d152f24870de28637ae41bc0fb Mon Sep 17 00:00:00 2001 From: Justin Black Date: Tue, 11 Jan 2022 09:31:25 -0800 Subject: [PATCH] python-experimental, redundant docstrings removed (#11281) * Removes docstrings drom models because type hints already includes this info * Samples updated --- .../schema_composed_or_anytype.handlebars | 19 -------------- .../model_templates/schema_dict.handlebars | 19 -------------- .../model_templates/schema_list.handlebars | 9 ------- .../model_templates/schema_simple.handlebars | 8 ------ .../model/additional_properties_class.py | 12 --------- ...ditional_properties_with_array_of_enums.py | 4 --- .../petstore_api/model/address.py | 4 --- .../petstore_api/model/animal.py | 8 ------ .../petstore_api/model/animal_farm.py | 3 --- .../petstore_api/model/api_response.py | 7 ------ .../petstore_api/model/apple.py | 6 ----- .../petstore_api/model/apple_req.py | 4 --- .../model/array_holding_any_type.py | 3 --- .../model/array_of_array_of_number_only.py | 5 ---- .../petstore_api/model/array_of_enums.py | 3 --- .../model/array_of_number_only.py | 5 ---- .../petstore_api/model/array_test.py | 7 ------ .../model/array_with_validations_in_items.py | 7 ------ .../petstore_api/model/banana.py | 5 ---- .../petstore_api/model/banana_req.py | 4 --- .../petstore_api/model/basque_pig.py | 5 ---- .../petstore_api/model/boolean_enum.py | 2 -- .../petstore_api/model/capitalization.py | 10 -------- .../petstore_api/model/cat.py | 4 --- .../petstore_api/model/cat_all_of.py | 5 ---- .../petstore_api/model/category.py | 6 ----- .../petstore_api/model/child_cat.py | 4 --- .../petstore_api/model/child_cat_all_of.py | 5 ---- .../petstore_api/model/class_model.py | 5 ---- .../petstore_api/model/client.py | 5 ---- .../model/complex_quadrilateral.py | 4 --- .../model/complex_quadrilateral_all_of.py | 5 ---- ...d_any_of_different_types_no_validations.py | 4 --- .../petstore_api/model/composed_array.py | 3 --- .../petstore_api/model/composed_bool.py | 2 -- .../petstore_api/model/composed_none.py | 2 -- .../petstore_api/model/composed_number.py | 2 -- .../petstore_api/model/composed_object.py | 4 --- .../model/composed_one_of_different_types.py | 4 --- .../petstore_api/model/composed_string.py | 2 -- .../petstore_api/model/danish_pig.py | 5 ---- .../model/date_time_with_validations.py | 6 ----- .../model/date_with_validations.py | 6 ----- .../petstore_api/model/dog.py | 4 --- .../petstore_api/model/dog_all_of.py | 5 ---- .../petstore_api/model/drawing.py | 8 ------ .../petstore_api/model/enum_arrays.py | 6 ----- .../petstore_api/model/enum_class.py | 2 -- .../petstore_api/model/enum_test.py | 13 ---------- .../model/equilateral_triangle.py | 4 --- .../model/equilateral_triangle_all_of.py | 5 ---- .../petstore_api/model/file.py | 5 ---- .../model/file_schema_test_class.py | 6 ----- .../petstore_api/model/foo.py | 5 ---- .../petstore_api/model/format_test.py | 25 ------------------- .../petstore_api/model/fruit.py | 5 ---- .../petstore_api/model/fruit_req.py | 4 --- .../petstore_api/model/gm_fruit.py | 5 ---- .../petstore_api/model/grandparent_animal.py | 7 ------ .../petstore_api/model/has_only_read_only.py | 6 ----- .../petstore_api/model/health_check_result.py | 5 ---- .../model/inline_response_default.py | 5 ---- .../petstore_api/model/integer_enum.py | 2 -- .../petstore_api/model/integer_enum_big.py | 2 -- .../model/integer_enum_one_value.py | 2 -- .../model/integer_enum_with_default_value.py | 2 -- .../petstore_api/model/integer_max10.py | 6 ----- .../petstore_api/model/integer_min15.py | 6 ----- .../petstore_api/model/isosceles_triangle.py | 4 --- .../model/isosceles_triangle_all_of.py | 5 ---- .../petstore_api/model/mammal.py | 6 ----- .../petstore_api/model/map_test.py | 8 ------ ...perties_and_additional_properties_class.py | 7 ------ .../petstore_api/model/model200_response.py | 6 ----- .../petstore_api/model/model_return.py | 5 ---- .../petstore_api/model/name.py | 7 ------ .../model/no_additional_properties.py | 4 --- .../petstore_api/model/nullable_class.py | 16 ------------ .../petstore_api/model/nullable_shape.py | 6 ----- .../petstore_api/model/nullable_string.py | 2 -- .../petstore_api/model/number_only.py | 5 ---- .../model/number_with_validations.py | 6 ----- .../model/object_model_with_ref_props.py | 7 ------ .../object_with_difficultly_named_props.py | 7 ------ .../model/object_with_validations.py | 8 ------ .../petstore_api/model/order.py | 10 -------- .../petstore_api/model/parent_pet.py | 6 ----- .../petstore_api/model/pet.py | 10 -------- .../petstore_api/model/pig.py | 6 ----- .../petstore_api/model/player.py | 6 ----- .../petstore_api/model/quadrilateral.py | 6 ----- .../model/quadrilateral_interface.py | 6 ----- .../petstore_api/model/read_only_first.py | 6 ----- .../petstore_api/model/scalene_triangle.py | 4 --- .../model/scalene_triangle_all_of.py | 5 ---- .../petstore_api/model/shape.py | 6 ----- .../petstore_api/model/shape_or_null.py | 6 ----- .../model/simple_quadrilateral.py | 4 --- .../model/simple_quadrilateral_all_of.py | 5 ---- .../petstore_api/model/some_object.py | 4 --- .../petstore_api/model/special_model_name.py | 5 ---- .../petstore_api/model/string_boolean_map.py | 4 --- .../petstore_api/model/string_enum.py | 2 -- .../model/string_enum_with_default_value.py | 2 -- .../model/string_with_validation.py | 6 ----- .../petstore_api/model/tag.py | 6 ----- .../petstore_api/model/triangle.py | 6 ----- .../petstore_api/model/triangle_interface.py | 6 ----- .../petstore_api/model/user.py | 16 ------------ .../petstore_api/model/whale.py | 7 ------ .../petstore_api/model/zebra.py | 6 ----- 111 files changed, 652 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_composed_or_anytype.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_composed_or_anytype.handlebars index 18527e02eff..2c9a6f469ba 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_composed_or_anytype.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_composed_or_anytype.handlebars @@ -32,25 +32,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}} {{{unescapedDescription}}} {{/if}} - - Attributes: -{{#each vars}} - {{baseName}} ({{#if isArray}}tuple,{{/if}}{{#if isBoolean}}bool,{{/if}}{{#if isDate}}date,{{/if}}{{#if isDateTime}}datetime,{{/if}}{{#if isMap}}dict,{{/if}}{{#if isFloat}}float,{{/if}}{{#if isNumber}}float,{{/if}}{{#if isUnboundedInteger}}int,{{/if}}{{#if isShort}}int,{{/if}}{{#if isLong}}int,{{/if}}{{#if isString}}str,{{/if}}{{#if isByteArray}}str,{{/if}}{{#if isNull}} none_type,{{/if}}): {{#if description}}{{description}}{{/if}} -{{/each}} -{{#if hasValidation}} - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. -{{/if}} -{{#with additionalProperties}} - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties -{{/with}} -{{#if getHasDiscriminatorWithNonEmptyMapping}} - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class -{{/if}} """ {{/if}} {{#or isMap isAnyType}} diff --git a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_dict.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_dict.handlebars index f811b092e50..c17e0f5764c 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_dict.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_dict.handlebars @@ -15,25 +15,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}} {{{unescapedDescription}}} {{/if}} - - Attributes: -{{#each vars}} - {{baseName}} ({{#if isArray}}tuple,{{/if}}{{#if isBoolean}}bool,{{/if}}{{#if isDate}}date,{{/if}}{{#if isDateTime}}datetime,{{/if}}{{#if isMap}}dict,{{/if}}{{#if isFloat}}float,{{/if}}{{#if isDouble}}float,{{/if}}{{#if isNumber}}int, float,{{/if}}{{#if isUnboundedInteger}}int,{{/if}}{{#if isShort}}int,{{/if}}{{#if isLong}}int,{{/if}}{{#if isString}}str,{{/if}}{{#if isByteArray}}str,{{/if}}{{#if isNull}} none_type,{{/if}}): {{#if description}}{{description}}{{/if}} -{{/each}} -{{#if hasValidation}} - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. -{{/if}} -{{#with additionalProperties}} - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties -{{/with}} -{{#if getHasDiscriminatorWithNonEmptyMapping}} - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class -{{/if}} """ {{/if}} {{> model_templates/dict_partial }} diff --git a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_list.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_list.handlebars index 8617eeb0559..542b486ab4c 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_list.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_list.handlebars @@ -15,15 +15,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}} {{{unescapedDescription}}} {{/if}} - - Attributes: - _items (Schema): the schema definition of the array items -{{#if hasValidation}} - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. -{{/if}} """ {{/if}} {{#with items}} diff --git a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_simple.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_simple.handlebars index 06ba2af1917..ea12a00ff40 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_simple.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/schema_simple.handlebars @@ -18,14 +18,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}} {{{unescapedDescription}}} {{/if}} - - Attributes: -{{#if hasValidation}} - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. -{{/if}} """ {{/if}} {{#if isEnum}} diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_class.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_class.py index a5e4f0a45d9..a9dbd2396f0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_class.py @@ -65,18 +65,6 @@ class AdditionalPropertiesClass( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - map_property (dict,): - map_of_map_property (dict,): - anytype_1 (): - map_with_undeclared_properties_anytype_1 (dict,): - map_with_undeclared_properties_anytype_2 (dict,): - map_with_undeclared_properties_anytype_3 (dict,): - empty_map (dict,): an object with no declared properties and no undeclared properties, hence it's an empty map. - map_with_undeclared_properties_string (dict,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_with_array_of_enums.py index db4d01003d3..e6b66637e22 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/additional_properties_with_array_of_enums.py @@ -65,10 +65,6 @@ class AdditionalPropertiesWithArrayOfEnums( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/address.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/address.py index d088fe45158..255e88d8f05 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/address.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/address.py @@ -65,10 +65,6 @@ class Address( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _additional_properties = IntSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py index 783f9026bd5..c5a1a74ddfe 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal.py @@ -65,14 +65,6 @@ class Animal( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - className (str,): - color (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ _required_property_names = set(( 'className', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal_farm.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal_farm.py index 1868ee5ee69..4a2b3dca68a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal_farm.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/animal_farm.py @@ -65,9 +65,6 @@ class AnimalFarm( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _items (Schema): the schema definition of the array items """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/api_response.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/api_response.py index 505d16f177a..b282cdccb5d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/api_response.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/api_response.py @@ -65,13 +65,6 @@ class ApiResponse( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - code (int,): - type (str,): - message (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ code = Int32Schema type = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple.py index 07991225ef5..eef32e7fc2c 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple.py @@ -68,12 +68,6 @@ class Apple( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - cultivar (str,): - origin (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'cultivar', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple_req.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple_req.py index c94a177b0ac..907e5332a51 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple_req.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/apple_req.py @@ -65,10 +65,6 @@ class AppleReq( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - cultivar (str,): - mealy (bool,): """ _required_property_names = set(( 'cultivar', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_holding_any_type.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_holding_any_type.py index 90f05d5eb12..a87a3963bf0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_holding_any_type.py @@ -65,8 +65,5 @@ class ArrayHoldingAnyType( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _items (Schema): the schema definition of the array items """ _items = AnyTypeSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_array_of_number_only.py index 6f9cd63088b..0441017cce2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_array_of_number_only.py @@ -65,11 +65,6 @@ class ArrayOfArrayOfNumberOnly( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - ArrayArrayNumber (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_enums.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_enums.py index ddb90807d27..84a16a901f4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_enums.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_enums.py @@ -65,9 +65,6 @@ class ArrayOfEnums( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _items (Schema): the schema definition of the array items """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_number_only.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_number_only.py index 1ee632533c3..befe0446d4a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_of_number_only.py @@ -65,11 +65,6 @@ class ArrayOfNumberOnly( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - ArrayNumber (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_test.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_test.py index f69faad445e..9d5ed1fe8f1 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_test.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_test.py @@ -65,13 +65,6 @@ class ArrayTest( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - array_of_string (tuple,): - array_array_of_integer (tuple,): - array_array_of_model (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_with_validations_in_items.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_with_validations_in_items.py index b34bcf6c27f..0d8bd1f5f59 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/array_with_validations_in_items.py @@ -68,13 +68,6 @@ class ArrayWithValidationsInItems( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _items (Schema): the schema definition of the array items - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana.py index 9cdf3cd55c6..2b745add0af 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana.py @@ -65,11 +65,6 @@ class Banana( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - lengthCm (int, float,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'lengthCm', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana_req.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana_req.py index 1cf74f05e3e..938ad1c8da9 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana_req.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/banana_req.py @@ -65,10 +65,6 @@ class BananaReq( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - lengthCm (int, float,): - sweet (bool,): """ _required_property_names = set(( 'lengthCm', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/basque_pig.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/basque_pig.py index c11f9ab4bf9..5470dcaa409 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/basque_pig.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/basque_pig.py @@ -65,11 +65,6 @@ class BasquePig( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - className (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'className', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean_enum.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean_enum.py index 50b7181cc7e..26b0d6fb5d8 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean_enum.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean_enum.py @@ -70,8 +70,6 @@ class BooleanEnum( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/capitalization.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/capitalization.py index 8b508242ff2..daef598fe3a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/capitalization.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/capitalization.py @@ -65,16 +65,6 @@ class Capitalization( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - smallCamel (str,): - CapitalCamel (str,): - small_Snake (str,): - Capital_Snake (str,): - SCA_ETH_Flow_Points (str,): - ATT_NAME (str,): Name of the pet - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ smallCamel = StrSchema CapitalCamel = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat.py index 080d2bde5b8..7ac8563f778 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat.py @@ -65,10 +65,6 @@ class Cat( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat_all_of.py index b08ff9b66f0..ec36b96f9f8 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/cat_all_of.py @@ -65,11 +65,6 @@ class CatAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - declawed (bool,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ declawed = BoolSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/category.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/category.py index abc7c3fc95a..a3b9e2134d7 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/category.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/category.py @@ -65,12 +65,6 @@ class Category( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - id (int,): - name (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'name', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat.py index e33b977dea1..d165c485a8f 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat.py @@ -65,10 +65,6 @@ class ChildCat( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat_all_of.py index aadedf15481..108a5620181 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/child_cat_all_of.py @@ -65,11 +65,6 @@ class ChildCatAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - name (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ name = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/class_model.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/class_model.py index 54118dfb5d6..432b40a385d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/class_model.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/class_model.py @@ -67,11 +67,6 @@ class ClassModel( Do not edit the class manually. Model for testing model with "_class" property - - Attributes: - _class (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _class = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/client.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/client.py index 713b3156872..372f5b8fe04 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/client.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/client.py @@ -65,11 +65,6 @@ class Client( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - client (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ client = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral.py index 8a7f81af753..ef414f33d68 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral.py @@ -65,10 +65,6 @@ class ComplexQuadrilateral( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral_all_of.py index 095c96095ac..128d50c3f03 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/complex_quadrilateral_all_of.py @@ -65,11 +65,6 @@ class ComplexQuadrilateralAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - quadrilateralType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_any_of_different_types_no_validations.py index fb200660c6e..67f71c76782 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_any_of_different_types_no_validations.py @@ -65,10 +65,6 @@ class ComposedAnyOfDifferentTypesNoValidations( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_array.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_array.py index 6a9d0e19c3f..197dc534477 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_array.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_array.py @@ -65,8 +65,5 @@ class ComposedArray( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _items (Schema): the schema definition of the array items """ _items = AnyTypeSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_bool.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_bool.py index b74990ba87a..57d1a5862ee 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_bool.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_bool.py @@ -66,8 +66,6 @@ class ComposedBool( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_none.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_none.py index ac6f516344f..7ba7de5a523 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_none.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_none.py @@ -66,8 +66,6 @@ class ComposedNone( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_number.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_number.py index e932e138bcc..f6725565fc8 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_number.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_number.py @@ -66,8 +66,6 @@ class ComposedNumber( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_object.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_object.py index 92942e256c4..64435b68570 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_object.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_object.py @@ -66,10 +66,6 @@ class ComposedObject( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_one_of_different_types.py index 0a454dbceed..9f42e28f2fa 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_one_of_different_types.py @@ -67,10 +67,6 @@ class ComposedOneOfDifferentTypes( Do not edit the class manually. this is a model that allows payloads of type object or number - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_string.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_string.py index dec60c328ef..75a01e3dee8 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_string.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composed_string.py @@ -66,8 +66,6 @@ class ComposedString( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/danish_pig.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/danish_pig.py index d269be73d17..559aefad1dc 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/danish_pig.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/danish_pig.py @@ -65,11 +65,6 @@ class DanishPig( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - className (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'className', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_with_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_with_validations.py index d7bc79a11f9..800e2d5fa1d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_with_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_with_validations.py @@ -70,11 +70,5 @@ class DateTimeWithValidations( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_with_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_with_validations.py index a61d8da1b01..5c2886e4968 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_with_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_with_validations.py @@ -70,11 +70,5 @@ class DateWithValidations( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog.py index dbfc2b13770..2556f7bab69 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog.py @@ -65,10 +65,6 @@ class Dog( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog_all_of.py index 1767fc983ae..fac002ead0c 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/dog_all_of.py @@ -65,11 +65,6 @@ class DogAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - breed (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ breed = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/drawing.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/drawing.py index 5196bd01cce..fa243f3bdf1 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/drawing.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/drawing.py @@ -65,14 +65,6 @@ class Drawing( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - mainShape (): - shapeOrNull (): - nullableShape (): - shapes (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_arrays.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_arrays.py index 54d293edd16..c5adca61568 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_arrays.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_arrays.py @@ -65,12 +65,6 @@ class EnumArrays( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - just_symbol (str,): - array_enum (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_class.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_class.py index 475c1dd6ca2..371b7835062 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_class.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_class.py @@ -72,8 +72,6 @@ class EnumClass( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_test.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_test.py index 77769e3cd74..6c0dd1eb4f9 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_test.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/enum_test.py @@ -65,19 +65,6 @@ class EnumTest( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - enum_string (str,): - enum_string_required (str,): - enum_integer (int,): - enum_number (float,): - stringEnum (): - IntegerEnum (): - StringEnumWithDefaultValue (): - IntegerEnumWithDefaultValue (): - IntegerEnumOneValue (): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'enum_string_required', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle.py index 69bf6944cf7..75d6046477f 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle.py @@ -65,10 +65,6 @@ class EquilateralTriangle( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle_all_of.py index fb6edf7c749..a6a6e6a494d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/equilateral_triangle_all_of.py @@ -65,11 +65,6 @@ class EquilateralTriangleAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - triangleType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file.py index 30ccd52a5f5..a9306665853 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file.py @@ -67,11 +67,6 @@ class File( Do not edit the class manually. Must be named `File` for test. - - Attributes: - sourceURI (str,): Test capitalization - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ sourceURI = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file_schema_test_class.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file_schema_test_class.py index f0f6f4d9d83..632b4be2e00 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/file_schema_test_class.py @@ -65,12 +65,6 @@ class FileSchemaTestClass( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - file (): - files (tuple,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/foo.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/foo.py index 2160642188d..8ad604af2b6 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/foo.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/foo.py @@ -65,11 +65,6 @@ class Foo( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - bar (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ bar = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/format_test.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/format_test.py index 913a2a90d1b..e86ab8fc5da 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/format_test.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/format_test.py @@ -65,31 +65,6 @@ class FormatTest( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - integer (int,): - int32 (int,): - int32withValidations (int,): - int64 (int,): - number (int, float,): - float (float,): this is a reserved python keyword - float32 (float,): - double (float,): - float64 (float,): - arrayWithUniqueItems (tuple,): - string (str,): - byte (str,): - binary (): - date (date,): - dateTime (datetime,): - uuid (str,): - uuidNoExample (str,): - password (str,): - pattern_with_digits (str,): A string that is a 10 digit number. Can have leading zeros. - pattern_with_digits_and_delimiter (str,): A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - noneProp ( none_type,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'number', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit.py index 77d38d632d4..c4d04e6f6fa 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit.py @@ -65,11 +65,6 @@ class Fruit( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - color (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ color = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit_req.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit_req.py index 37fcf71a44b..5170901cec3 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit_req.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/fruit_req.py @@ -65,10 +65,6 @@ class FruitReq( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/gm_fruit.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/gm_fruit.py index ab342907147..45a96f3718e 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/gm_fruit.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/gm_fruit.py @@ -65,11 +65,6 @@ class GmFruit( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - color (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ color = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/grandparent_animal.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/grandparent_animal.py index f5625407bc7..fce1e5b8a45 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/grandparent_animal.py @@ -65,13 +65,6 @@ class GrandparentAnimal( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - pet_type (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ _required_property_names = set(( 'pet_type', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/has_only_read_only.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/has_only_read_only.py index 3a84082bd47..35a72109094 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/has_only_read_only.py @@ -65,12 +65,6 @@ class HasOnlyReadOnly( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - bar (str,): - foo (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ bar = StrSchema foo = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/health_check_result.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/health_check_result.py index 9cf48be2b36..db0e3586671 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/health_check_result.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/health_check_result.py @@ -67,11 +67,6 @@ class HealthCheckResult( Do not edit the class manually. Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. - - Attributes: - NullableMessage (str, none_type,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/inline_response_default.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/inline_response_default.py index 6b0f32db72a..ae29e2cf1c7 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/inline_response_default.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/inline_response_default.py @@ -65,11 +65,6 @@ class InlineResponseDefault( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - string (): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum.py index 02a228957b6..857b0cffa90 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum.py @@ -72,8 +72,6 @@ class IntegerEnum( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_big.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_big.py index babc39df7d4..bcc9aa57f93 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_big.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_big.py @@ -72,8 +72,6 @@ class IntegerEnumBig( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_one_value.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_one_value.py index fa7e4258cbb..17b1d599779 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_one_value.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_one_value.py @@ -70,8 +70,6 @@ class IntegerEnumOneValue( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_with_default_value.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_with_default_value.py index cb5860a0bdb..2916e4fcdff 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_enum_with_default_value.py @@ -72,8 +72,6 @@ class IntegerEnumWithDefaultValue( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_max10.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_max10.py index affe4283ac6..8a57a1cdd5e 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_max10.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_max10.py @@ -68,11 +68,5 @@ class IntegerMax10( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_min15.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_min15.py index 6a6488136d1..18a76f8e6ff 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_min15.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/integer_min15.py @@ -68,11 +68,5 @@ class IntegerMin15( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle.py index b8527d08df5..2f14974794e 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle.py @@ -65,10 +65,6 @@ class IsoscelesTriangle( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle_all_of.py index 8d9bc65556f..96d8b286c0e 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/isosceles_triangle_all_of.py @@ -65,11 +65,6 @@ class IsoscelesTriangleAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - triangleType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mammal.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mammal.py index fd1784636b2..6868e7e2a8b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mammal.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mammal.py @@ -65,12 +65,6 @@ class Mammal( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/map_test.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/map_test.py index 90e2f053e68..9fca5b0310b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/map_test.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/map_test.py @@ -65,14 +65,6 @@ class MapTest( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - map_map_of_string (dict,): - map_of_enum_string (dict,): - direct_map (dict,): - indirect_map (): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mixed_properties_and_additional_properties_class.py index e3a39533757..fa0afeab0be 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/mixed_properties_and_additional_properties_class.py @@ -65,13 +65,6 @@ class MixedPropertiesAndAdditionalPropertiesClass( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - uuid (str,): - dateTime (datetime,): - map (dict,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ uuid = StrSchema dateTime = DateTimeSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model200_response.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model200_response.py index c47980d5a7f..a7fcdd30ad5 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model200_response.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model200_response.py @@ -67,12 +67,6 @@ class Model200Response( Do not edit the class manually. model with an invalid class name for python, starts with a number - - Attributes: - name (int,): - class (str,): this is a reserved python keyword - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ name = Int32Schema _class = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model_return.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model_return.py index 81116280224..8ca497627cc 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model_return.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/model_return.py @@ -67,11 +67,6 @@ class ModelReturn( Do not edit the class manually. Model for testing reserved words - - Attributes: - return (int,): this is a reserved python keyword - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _return = Int32Schema locals()['return'] = _return diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/name.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/name.py index 7343223c4d2..c5700c9b763 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/name.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/name.py @@ -67,13 +67,6 @@ class Name( Do not edit the class manually. Model for testing model name same as property name - - Attributes: - name (int,): - snake_case (int,): - property (str,): this is a reserved python keyword - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'name', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/no_additional_properties.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/no_additional_properties.py index 910b8bc1f11..2ec538c5dae 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/no_additional_properties.py @@ -65,10 +65,6 @@ class NoAdditionalProperties( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - id (int,): - petId (int,): """ _required_property_names = set(( 'id', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_class.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_class.py index 45743da4394..329db7acc08 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_class.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_class.py @@ -65,22 +65,6 @@ class NullableClass( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - integer_prop (int, none_type,): - number_prop (int, float, none_type,): - boolean_prop (bool, none_type,): - string_prop (str, none_type,): - date_prop (date, none_type,): - datetime_prop (datetime, none_type,): - array_nullable_prop (tuple, none_type,): - array_and_items_nullable_prop (tuple, none_type,): - array_items_nullable (tuple,): - object_nullable_prop (dict, none_type,): - object_and_items_nullable_prop (dict, none_type,): - object_items_nullable (dict,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_shape.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_shape.py index 7c4e3079234..8bf418c1445 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_shape.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_shape.py @@ -67,12 +67,6 @@ class NullableShape( Do not edit the class manually. The value may be a shape or the 'null' value. The 'nullable' attribute was introduced in OAS schema >= 3.0 and has been deprecated in OAS schema >= 3.1. For a nullable composed schema to work, one of its chosen oneOf schemas must be type null - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_string.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_string.py index 2386522587d..db4a33d9be0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_string.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/nullable_string.py @@ -68,8 +68,6 @@ class NullableString( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ def __new__( diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_only.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_only.py index ff476caf032..d9e2b49aa81 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_only.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_only.py @@ -65,11 +65,6 @@ class NumberOnly( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - JustNumber (int, float,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ JustNumber = NumberSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_with_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_with_validations.py index 25ec9cdf00f..fa87e19d3a4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_with_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number_with_validations.py @@ -69,11 +69,5 @@ class NumberWithValidations( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_model_with_ref_props.py index 99ca8288ee8..005497a8fa4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_model_with_ref_props.py @@ -67,13 +67,6 @@ class ObjectModelWithRefProps( Do not edit the class manually. a model that includes properties which should stay primitive (String + Boolean) and one which is defined as a class, NumberWithValidations - - Attributes: - myNumber (): - myString (str,): - myBoolean (bool,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_difficultly_named_props.py index 11c22fd99f7..2beb1a96edf 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_difficultly_named_props.py @@ -67,13 +67,6 @@ class ObjectWithDifficultlyNamedProps( Do not edit the class manually. model with properties that have invalid names for python - - Attributes: - $special[property.name] (int,): - 123-list (str,): - 123Number (int,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( '123-list', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_validations.py index c55d028c374..ff52e9e6a07 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_validations.py @@ -68,14 +68,6 @@ class ObjectWithValidations( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/order.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/order.py index b00c227a86c..e272d48cf0d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/order.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/order.py @@ -65,16 +65,6 @@ class Order( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - id (int,): - petId (int,): - quantity (int,): - shipDate (datetime,): - status (str,): Order Status - complete (bool,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ id = Int64Schema petId = Int64Schema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/parent_pet.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/parent_pet.py index b9066defb50..4946eb510dd 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/parent_pet.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/parent_pet.py @@ -66,12 +66,6 @@ class ParentPet( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pet.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pet.py index f602e6e722d..3bd1fcadb75 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pet.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pet.py @@ -67,16 +67,6 @@ class Pet( Do not edit the class manually. Pet object that needs to be added to the store - - Attributes: - id (int,): - category (): - name (str,): - photoUrls (tuple,): - tags (tuple,): - status (str,): pet status in the store - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'name', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pig.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pig.py index 02ef6df613b..e5dc2bb1710 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pig.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/pig.py @@ -65,12 +65,6 @@ class Pig( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/player.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/player.py index b568eadf36e..817770d4455 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/player.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/player.py @@ -67,12 +67,6 @@ class Player( Do not edit the class manually. a model that includes a self reference this forces properties and additionalProperties to be lazy loaded in python models because the Player class has not fully loaded when defining properties - - Attributes: - name (str,): - enemyPlayer (): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ name = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral.py index e5e8dd8788a..85fa3e76334 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral.py @@ -65,12 +65,6 @@ class Quadrilateral( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral_interface.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral_interface.py index 606805b40ee..52f17cf2ec8 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/quadrilateral_interface.py @@ -65,12 +65,6 @@ class QuadrilateralInterface( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - shapeType (str,): - quadrilateralType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'shapeType', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/read_only_first.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/read_only_first.py index 136a772cd00..ebc9b3b5662 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/read_only_first.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/read_only_first.py @@ -65,12 +65,6 @@ class ReadOnlyFirst( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - bar (str,): - baz (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ bar = StrSchema baz = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle.py index 0639b5aeb3c..9bddbc85da5 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle.py @@ -65,10 +65,6 @@ class ScaleneTriangle( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle_all_of.py index 9e031ca5a74..f5c2edcb720 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/scalene_triangle_all_of.py @@ -65,11 +65,6 @@ class ScaleneTriangleAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - triangleType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape.py index 6142062fbc7..4aaa6b6be13 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape.py @@ -65,12 +65,6 @@ class Shape( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape_or_null.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape_or_null.py index b1a7ecd967d..121988a3def 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape_or_null.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/shape_or_null.py @@ -67,12 +67,6 @@ class ShapeOrNull( Do not edit the class manually. The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral.py index bc907bfb30b..b326d1a5837 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral.py @@ -65,10 +65,6 @@ class SimpleQuadrilateral( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral_all_of.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral_all_of.py index b6b63fb9ff0..ff52c014531 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral_all_of.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/simple_quadrilateral_all_of.py @@ -65,11 +65,6 @@ class SimpleQuadrilateralAllOf( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - quadrilateralType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/some_object.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/some_object.py index c4fa2a0cff6..2b7e243a476 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/some_object.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/some_object.py @@ -65,10 +65,6 @@ class SomeObject( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/special_model_name.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/special_model_name.py index 47c8e538244..967b02cb3d0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/special_model_name.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/special_model_name.py @@ -67,11 +67,6 @@ class SpecialModelName( Do not edit the class manually. model with an invalid class name for python - - Attributes: - a (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ a = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_boolean_map.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_boolean_map.py index 8022c91ced1..14fb2216dad 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_boolean_map.py @@ -65,10 +65,6 @@ class StringBooleanMap( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _additional_properties = BoolSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum.py index 0f803ec7d24..a8fa2a6c6ba 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum.py @@ -81,8 +81,6 @@ lines''': "MULTIPLE_LINES", Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum_with_default_value.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum_with_default_value.py index 7894c4093a4..52689f388b5 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum_with_default_value.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_enum_with_default_value.py @@ -72,8 +72,6 @@ class StringEnumWithDefaultValue( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_with_validation.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_with_validation.py index 135b181127d..7b41acff15d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_with_validation.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string_with_validation.py @@ -68,11 +68,5 @@ class StringWithValidation( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _validations (dict): the validations which apply to the current Schema - The value is a dict that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. """ pass diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/tag.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/tag.py index 275974b2ecf..0316fce5b92 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/tag.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/tag.py @@ -65,12 +65,6 @@ class Tag( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - id (int,): - name (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ id = Int64Schema name = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle.py index a35af496f9c..dae6c43d213 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle.py @@ -65,12 +65,6 @@ class Triangle( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties - _discriminator(cls) -> dict: the key is the required discriminator propertyName - the value is a dict mapping from a string name to the corresponding Schema class """ @classmethod diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle_interface.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle_interface.py index d21d93687c8..db721a77afb 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle_interface.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/triangle_interface.py @@ -65,12 +65,6 @@ class TriangleInterface( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - shapeType (str,): - triangleType (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'shapeType', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/user.py index dccbf4d2040..c55c2e0e687 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/user.py @@ -65,22 +65,6 @@ class User( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - id (int,): - username (str,): - firstName (str,): - lastName (str,): - email (str,): - password (str,): - phone (str,): - userStatus (int,): User Status - objectWithNoDeclaredProps (dict,): test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. - objectWithNoDeclaredPropsNullable (dict, none_type,): test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. - anyTypeProp (): test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 - anyTypePropNullable (): test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ id = Int64Schema username = StrSchema diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/whale.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/whale.py index 2018c62eb3c..dabdd735658 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/whale.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/whale.py @@ -65,13 +65,6 @@ class Whale( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - hasBaleen (bool,): - hasTeeth (bool,): - className (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'className', diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/zebra.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/zebra.py index 8a5ef4550d7..17d8746ce70 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/zebra.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/zebra.py @@ -65,12 +65,6 @@ class Zebra( Ref: https://openapi-generator.tech Do not edit the class manually. - - Attributes: - type (str,): - className (str,): - _additional_properties (Schema): the definition used for additional properties - that are not defined in _properties """ _required_property_names = set(( 'className',