python-experimental, redundant docstrings removed (#11281)

* Removes docstrings drom models because type hints already includes this info

* Samples updated
This commit is contained in:
Justin Black 2022-01-11 09:31:25 -08:00 committed by GitHub
parent 45b66d660a
commit ce04e9b6a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
111 changed files with 0 additions and 652 deletions

View File

@ -32,25 +32,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}}
{{{unescapedDescription}}} {{{unescapedDescription}}}
{{/if}} {{/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}} {{/if}}
{{#or isMap isAnyType}} {{#or isMap isAnyType}}

View File

@ -15,25 +15,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}}
{{{unescapedDescription}}} {{{unescapedDescription}}}
{{/if}} {{/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}} {{/if}}
{{> model_templates/dict_partial }} {{> model_templates/dict_partial }}

View File

@ -15,15 +15,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}}
{{{unescapedDescription}}} {{{unescapedDescription}}}
{{/if}} {{/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}} {{/if}}
{{#with items}} {{#with items}}

View File

@ -18,14 +18,6 @@ class {{#if this.classname}}{{classname}}{{else}}{{#if nameInSnakeCase}}{{name}}
{{{unescapedDescription}}} {{{unescapedDescription}}}
{{/if}} {{/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}}
{{#if isEnum}} {{#if isEnum}}

View File

@ -65,18 +65,6 @@ class AdditionalPropertiesClass(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -65,10 +65,6 @@ class AdditionalPropertiesWithArrayOfEnums(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,10 +65,6 @@ class Address(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 _additional_properties = IntSchema

View File

@ -65,14 +65,6 @@ class Animal(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'className', 'className',

View File

@ -65,9 +65,6 @@ class AnimalFarm(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_items (Schema): the schema definition of the array items
""" """
@classmethod @classmethod

View File

@ -65,13 +65,6 @@ class ApiResponse(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 code = Int32Schema
type = StrSchema type = StrSchema

View File

@ -68,12 +68,6 @@ class Apple(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'cultivar', 'cultivar',

View File

@ -65,10 +65,6 @@ class AppleReq(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
cultivar (str,):
mealy (bool,):
""" """
_required_property_names = set(( _required_property_names = set((
'cultivar', 'cultivar',

View File

@ -65,8 +65,5 @@ class ArrayHoldingAnyType(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_items (Schema): the schema definition of the array items
""" """
_items = AnyTypeSchema _items = AnyTypeSchema

View File

@ -65,11 +65,6 @@ class ArrayOfArrayOfNumberOnly(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
ArrayArrayNumber (tuple,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,9 +65,6 @@ class ArrayOfEnums(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_items (Schema): the schema definition of the array items
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class ArrayOfNumberOnly(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
ArrayNumber (tuple,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,13 +65,6 @@ class ArrayTest(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -68,13 +68,6 @@ class ArrayWithValidationsInItems(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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.
""" """

View File

@ -65,11 +65,6 @@ class Banana(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'lengthCm', 'lengthCm',

View File

@ -65,10 +65,6 @@ class BananaReq(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
lengthCm (int, float,):
sweet (bool,):
""" """
_required_property_names = set(( _required_property_names = set((
'lengthCm', 'lengthCm',

View File

@ -65,11 +65,6 @@ class BasquePig(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'className', 'className',

View File

@ -70,8 +70,6 @@ class BooleanEnum(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -65,16 +65,6 @@ class Capitalization(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 smallCamel = StrSchema
CapitalCamel = StrSchema CapitalCamel = StrSchema

View File

@ -65,10 +65,6 @@ class Cat(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class CatAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 declawed = BoolSchema

View File

@ -65,12 +65,6 @@ class Category(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'name', 'name',

View File

@ -65,10 +65,6 @@ class ChildCat(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class ChildCatAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 name = StrSchema

View File

@ -67,11 +67,6 @@ class ClassModel(
Do not edit the class manually. Do not edit the class manually.
Model for testing model with "_class" property 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 _class = StrSchema

View File

@ -65,11 +65,6 @@ class Client(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 client = StrSchema

View File

@ -65,10 +65,6 @@ class ComplexQuadrilateral(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class ComplexQuadrilateralAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
quadrilateralType (str,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,10 +65,6 @@ class ComposedAnyOfDifferentTypesNoValidations(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,8 +65,5 @@ class ComposedArray(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_items (Schema): the schema definition of the array items
""" """
_items = AnyTypeSchema _items = AnyTypeSchema

View File

@ -66,8 +66,6 @@ class ComposedBool(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -66,8 +66,6 @@ class ComposedNone(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -66,8 +66,6 @@ class ComposedNumber(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -66,10 +66,6 @@ class ComposedObject(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -67,10 +67,6 @@ class ComposedOneOfDifferentTypes(
Do not edit the class manually. Do not edit the class manually.
this is a model that allows payloads of type object or number 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 @classmethod

View File

@ -66,8 +66,6 @@ class ComposedString(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class DanishPig(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'className', 'className',

View File

@ -70,11 +70,5 @@ class DateTimeWithValidations(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 pass

View File

@ -70,11 +70,5 @@ class DateWithValidations(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 pass

View File

@ -65,10 +65,6 @@ class Dog(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class DogAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 breed = StrSchema

View File

@ -65,14 +65,6 @@ class Drawing(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -65,12 +65,6 @@ class EnumArrays(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -72,8 +72,6 @@ class EnumClass(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -65,19 +65,6 @@ class EnumTest(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'enum_string_required', 'enum_string_required',

View File

@ -65,10 +65,6 @@ class EquilateralTriangle(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class EquilateralTriangleAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
triangleType (str,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -67,11 +67,6 @@ class File(
Do not edit the class manually. Do not edit the class manually.
Must be named `File` for test. 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 sourceURI = StrSchema

View File

@ -65,12 +65,6 @@ class FileSchemaTestClass(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -65,11 +65,6 @@ class Foo(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 bar = StrSchema

View File

@ -65,31 +65,6 @@ class FormatTest(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'number', 'number',

View File

@ -65,11 +65,6 @@ class Fruit(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 color = StrSchema

View File

@ -65,10 +65,6 @@ class FruitReq(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class GmFruit(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 color = StrSchema

View File

@ -65,13 +65,6 @@ class GrandparentAnimal(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'pet_type', 'pet_type',

View File

@ -65,12 +65,6 @@ class HasOnlyReadOnly(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 bar = StrSchema
foo = StrSchema foo = StrSchema

View File

@ -67,11 +67,6 @@ class HealthCheckResult(
Do not edit the class manually. 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. 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
""" """

View File

@ -65,11 +65,6 @@ class InlineResponseDefault(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
string ():
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -72,8 +72,6 @@ class IntegerEnum(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -72,8 +72,6 @@ class IntegerEnumBig(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -70,8 +70,6 @@ class IntegerEnumOneValue(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -72,8 +72,6 @@ class IntegerEnumWithDefaultValue(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
@classmethod @classmethod

View File

@ -68,11 +68,5 @@ class IntegerMax10(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 pass

View File

@ -68,11 +68,5 @@ class IntegerMin15(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 pass

View File

@ -65,10 +65,6 @@ class IsoscelesTriangle(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class IsoscelesTriangleAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
triangleType (str,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,12 +65,6 @@ class Mammal(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -65,14 +65,6 @@ class MapTest(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -65,13 +65,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 uuid = StrSchema
dateTime = DateTimeSchema dateTime = DateTimeSchema

View File

@ -67,12 +67,6 @@ class Model200Response(
Do not edit the class manually. Do not edit the class manually.
model with an invalid class name for python, starts with a number 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 name = Int32Schema
_class = StrSchema _class = StrSchema

View File

@ -67,11 +67,6 @@ class ModelReturn(
Do not edit the class manually. Do not edit the class manually.
Model for testing reserved words 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 _return = Int32Schema
locals()['return'] = _return locals()['return'] = _return

View File

@ -67,13 +67,6 @@ class Name(
Do not edit the class manually. Do not edit the class manually.
Model for testing model name same as property name 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(( _required_property_names = set((
'name', 'name',

View File

@ -65,10 +65,6 @@ class NoAdditionalProperties(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
id (int,):
petId (int,):
""" """
_required_property_names = set(( _required_property_names = set((
'id', 'id',

View File

@ -65,22 +65,6 @@ class NullableClass(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -67,12 +67,6 @@ class NullableShape(
Do not edit the class manually. 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 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 @classmethod

View File

@ -68,8 +68,6 @@ class NullableString(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
""" """
def __new__( def __new__(

View File

@ -65,11 +65,6 @@ class NumberOnly(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 JustNumber = NumberSchema

View File

@ -69,11 +69,5 @@ class NumberWithValidations(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 pass

View File

@ -67,13 +67,6 @@ class ObjectModelWithRefProps(
Do not edit the class manually. 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 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 @classmethod

View File

@ -67,13 +67,6 @@ class ObjectWithDifficultlyNamedProps(
Do not edit the class manually. Do not edit the class manually.
model with properties that have invalid names for python 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(( _required_property_names = set((
'123-list', '123-list',

View File

@ -68,14 +68,6 @@ class ObjectWithValidations(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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
""" """

View File

@ -65,16 +65,6 @@ class Order(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 id = Int64Schema
petId = Int64Schema petId = Int64Schema

View File

@ -66,12 +66,6 @@ class ParentPet(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -67,16 +67,6 @@ class Pet(
Do not edit the class manually. Do not edit the class manually.
Pet object that needs to be added to the store 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(( _required_property_names = set((
'name', 'name',

View File

@ -65,12 +65,6 @@ class Pig(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -67,12 +67,6 @@ class Player(
Do not edit the class manually. 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 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 name = StrSchema

View File

@ -65,12 +65,6 @@ class Quadrilateral(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -65,12 +65,6 @@ class QuadrilateralInterface(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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(( _required_property_names = set((
'shapeType', 'shapeType',

View File

@ -65,12 +65,6 @@ class ReadOnlyFirst(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 bar = StrSchema
baz = StrSchema baz = StrSchema

View File

@ -65,10 +65,6 @@ class ScaleneTriangle(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class ScaleneTriangleAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
triangleType (str,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,12 +65,6 @@ class Shape(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. 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 @classmethod

View File

@ -67,12 +67,6 @@ class ShapeOrNull(
Do not edit the class manually. Do not edit the class manually.
The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1. 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 @classmethod

View File

@ -65,10 +65,6 @@ class SimpleQuadrilateral(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

View File

@ -65,11 +65,6 @@ class SimpleQuadrilateralAllOf(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
quadrilateralType (str,):
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """

View File

@ -65,10 +65,6 @@ class SomeObject(
Ref: https://openapi-generator.tech Ref: https://openapi-generator.tech
Do not edit the class manually. Do not edit the class manually.
Attributes:
_additional_properties (Schema): the definition used for additional properties
that are not defined in _properties
""" """
@classmethod @classmethod

Some files were not shown because too many files have changed in this diff Show More