diff --git a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/imports_schema_types.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/imports_schema_types.handlebars index 38015e35044..3225819fd14 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/model_templates/imports_schema_types.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/model_templates/imports_schema_types.handlebars @@ -30,6 +30,10 @@ from {{packageName}}.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars index 9450487cb54..15a4b7b3215 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars @@ -58,8 +58,12 @@ def update(d: dict, u: dict): Adds u to d Where each dict is defaultdict(set) """ + if not u: + return d for k, v in u.items(): - d[k] = d[k].union(v) + if not v: + continue + d[k] = d[k] | v return d @@ -210,7 +214,6 @@ class ValidatorBase: if (cls.__is_json_validation_enabled('uniqueItems', _instantiation_metadata.configuration) and 'unique_items' in validations and validations['unique_items'] and input_values): unique_items = [] - # print(validations) for item in input_values: if item not in unique_items: unique_items.append(item) @@ -775,25 +778,22 @@ class ListBase: cls_item_cls = getattr(cls, '_items', AnyTypeSchema) for i, value in enumerate(list_items): item_path_to_item = _instantiation_metadata.path_to_item+(i,) - if item_path_to_item in _instantiation_metadata.path_to_schemas: - item_cls = _instantiation_metadata.path_to_schemas[item_path_to_item] - else: + item_cls = _instantiation_metadata.path_to_schemas.get(item_path_to_item) + if item_cls is None: item_cls = cls_item_cls if isinstance(value, item_cls): cast_items.append(value) continue + item_instantiation_metadata = InstantiationMetadata( configuration=_instantiation_metadata.configuration, from_server=_instantiation_metadata.from_server, path_to_item=item_path_to_item, path_to_schemas=_instantiation_metadata.path_to_schemas, ) - - if _instantiation_metadata.from_server: - new_value = item_cls._from_openapi_data(value, _instantiation_metadata=item_instantiation_metadata) - else: - new_value = item_cls(value, _instantiation_metadata=item_instantiation_metadata) + new_value = item_cls._get_new_instance_without_conversion( + value, _instantiation_metadata=item_instantiation_metadata) cast_items.append(new_value) return cast_items @@ -932,7 +932,6 @@ class DictBase(Discriminable): ) other_path_to_schemas = schema._validate(value, _instantiation_metadata=arg_instantiation_metadata) update(path_to_schemas, other_path_to_schemas) - _instantiation_metadata.path_to_schemas.update(arg_instantiation_metadata.path_to_schemas) return path_to_schemas @classmethod @@ -1045,10 +1044,8 @@ class DictBase(Discriminable): path_to_item=property_path_to_item, path_to_schemas=_instantiation_metadata.path_to_schemas, ) - if _instantiation_metadata.from_server: - new_value = property_cls._from_openapi_data(value, _instantiation_metadata=prop_instantiation_metadata) - else: - new_value = property_cls(value, _instantiation_metadata=prop_instantiation_metadata) + new_value = property_cls._get_new_instance_without_conversion( + value, _instantiation_metadata=prop_instantiation_metadata) dict_items[property_name_js] = new_value return dict_items @@ -1063,11 +1060,9 @@ class DictBase(Discriminable): return self[name] except KeyError as ex: raise AttributeError(str(ex)) - # print(('non-frozendict __getattr__', name)) return super().__getattr__(self, name) def __getattribute__(self, name): - # print(('__getattribute__', name)) # if an attribute does exist (for example as a class property but not as an instance method) try: return self[name] @@ -1268,9 +1263,6 @@ class Schema: _instantiation_metadata.path_to_schemas and _instantiation_metadata.path_to_item in _instantiation_metadata.path_to_schemas): chosen_new_cls = _instantiation_metadata.path_to_schemas[_instantiation_metadata.path_to_item] - # print('leaving __get_new_cls early for cls {} because path_to_schemas exists'.format(cls)) - # print(_instantiation_metadata.path_to_item) - # print(chosen_new_cls) return chosen_new_cls """ Dict property + List Item Assignment Use cases: @@ -1286,8 +1278,6 @@ class Schema: because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = cls._validate(arg, _instantiation_metadata=_instantiation_metadata) - from pprint import pprint - pprint(dict(_path_to_schemas)) # loop through it make a new class for each entry for path, schema_classes in _path_to_schemas.items(): enum_schema = any( @@ -1318,7 +1308,6 @@ class Schema: continue # Use case: value is None, True, False, or an enum value - # print('choosing enum class for path {} in arg {}'.format(path, arg)) value = arg for key in path[1:]: value = value[key] @@ -1335,14 +1324,14 @@ class Schema: return _instantiation_metadata.path_to_schemas[_instantiation_metadata.path_to_item] @classmethod - def __get_new_instance_without_conversion(cls, arg, _instantiation_metadata): + def _get_new_instance_without_conversion(cls, arg, _instantiation_metadata): # PATH 2 - we have a Dynamic class and we are making an instance of it - if issubclass(cls, tuple): - items = cls._get_items(arg, _instantiation_metadata=_instantiation_metadata) - return super(Schema, cls).__new__(cls, items) - elif issubclass(cls, frozendict): + if issubclass(cls, frozendict): properties = cls._get_properties(arg, _instantiation_metadata=_instantiation_metadata) return super(Schema, cls).__new__(cls, properties) + elif issubclass(cls, tuple): + items = cls._get_items(arg, _instantiation_metadata=_instantiation_metadata) + return super(Schema, cls).__new__(cls, items) """ str = openapi str, date, and datetime decimal.Decimal = openapi int and float @@ -1381,7 +1370,7 @@ class Schema: 'from_server must be True in this code path, if you need it to be False, use cls()' ) new_cls = cls.__get_new_cls(arg, _instantiation_metadata) - new_inst = new_cls.__get_new_instance_without_conversion(arg, _instantiation_metadata) + new_inst = new_cls._get_new_instance_without_conversion(arg, _instantiation_metadata) return new_inst @staticmethod @@ -1422,7 +1411,7 @@ class Schema: ) arg = cast_to_allowed_types(arg, from_server=_instantiation_metadata.from_server) new_cls = cls.__get_new_cls(arg, _instantiation_metadata) - return new_cls.__get_new_instance_without_conversion(arg, _instantiation_metadata) + return new_cls._get_new_instance_without_conversion(arg, _instantiation_metadata) def __init__( self, @@ -1448,21 +1437,16 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal int, float -> Decimal StrSchema will convert that to bytes and remember the encoding when we pass in str input """ - if isinstance(arg, (date, datetime)): - if not from_server: - return arg.isoformat() - # ApiTypeError will be thrown later by _validate_type + if isinstance(arg, str): return arg + elif type(arg) is dict or type(arg) is frozendict: + return frozendict({key: cast_to_allowed_types(val) for key, val in arg.items()}) elif isinstance(arg, bool): """ this check must come before isinstance(arg, (int, float)) because isinstance(True, int) is True """ return arg - elif isinstance(arg, decimal.Decimal): - return arg - elif isinstance(arg, int): - return decimal.Decimal(arg) elif isinstance(arg, float): decimal_from_float = decimal.Decimal(arg) if decimal_from_float.as_integer_ratio()[1] == 1: @@ -1470,7 +1454,18 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal # 3.4028234663852886e+38 -> Decimal('340282346638528859811704183484516925440.0') return decimal.Decimal(str(decimal_from_float)+'.0') return decimal_from_float - elif isinstance(arg, str): + elif type(arg) is list or type(arg) is tuple: + return tuple([cast_to_allowed_types(item) for item in arg]) + elif isinstance(arg, int): + return decimal.Decimal(arg) + elif arg is None: + return arg + elif isinstance(arg, (date, datetime)): + if not from_server: + return arg.isoformat() + # ApiTypeError will be thrown later by _validate_type + return arg + elif isinstance(arg, decimal.Decimal): return arg elif isinstance(arg, bytes): return arg @@ -1478,12 +1473,6 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal if arg.closed: raise ApiValueError('Invalid file state; file is closed and must be open') return arg - elif type(arg) is list or type(arg) is tuple: - return tuple([cast_to_allowed_types(item) for item in arg]) - elif type(arg) is dict or type(arg) is frozendict: - return frozendict({key: cast_to_allowed_types(val) for key, val in arg.items() if val is not unset}) - elif arg is None: - return arg elif isinstance(arg, Schema): return arg raise ValueError('Invalid type passed in got input={} type={}'.format(arg, type(arg))) @@ -1772,30 +1761,49 @@ class IntSchema(IntBase, NumberSchema): return super().__new__(cls, arg, **kwargs) -class Int32Schema( +class Int32Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-2147483648), inclusive_maximum=decimal.Decimal(2147483647) ), +): + pass + + +class Int32Schema( + Int32Base, IntSchema ): pass -class Int64Schema( + +class Int64Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-9223372036854775808), inclusive_maximum=decimal.Decimal(9223372036854775807) ), +): + pass + + +class Int64Schema( + Int64Base, IntSchema ): pass +class Float32Base( + _SchemaValidator( + inclusive_minimum=decimal.Decimal(-3.4028234663852886e+38), + inclusive_maximum=decimal.Decimal(3.4028234663852886e+38) + ), +): + pass + + class Float32Schema( - _SchemaValidator( - inclusive_minimum=decimal.Decimal(-3.4028234663852886e+38), - inclusive_maximum=decimal.Decimal(3.4028234663852886e+38) - ), + Float32Base, NumberSchema ): @@ -1805,11 +1813,17 @@ class Float32Schema( return super()._from_openapi_data(arg, _instantiation_metadata=_instantiation_metadata) -class Float64Schema( +class Float64Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-1.7976931348623157E+308), inclusive_maximum=decimal.Decimal(1.7976931348623157E+308) ), +): + pass + + +class Float64Schema( + Float64Base, NumberSchema ): diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/another_fake_api_endpoints/call_123_test_special_tags.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/another_fake_api_endpoints/call_123_test_special_tags.py index eef7420a019..d8e8700aed0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/another_fake_api_endpoints/call_123_test_special_tags.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/another_fake_api_endpoints/call_123_test_special_tags.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/default_api_endpoints/foo_get.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/default_api_endpoints/foo_get.py index c1a9e4213e0..2e7164b4db2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/default_api_endpoints/foo_get.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/default_api_endpoints/foo_get.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/additional_properties_with_array_of_enums.py index 1958cd47e5f..a980fc16774 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/additional_properties_with_array_of_enums.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_model.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_model.py index 466bb6bdeac..c864cb57521 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_model.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_model.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_of_enums.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_of_enums.py index 30eb23e2260..581a2cf36b0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_of_enums.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/array_of_enums.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_file_schema.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_file_schema.py index 7d10197e7b9..14eb9ddd355 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_file_schema.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_file_schema.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_query_params.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_query_params.py index 185f737fd61..30ed8b1c8ff 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_query_params.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/body_with_query_params.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/boolean.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/boolean.py index 27c385cf6d8..3611abb2da5 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/boolean.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/boolean.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/case_sensitive_params.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/case_sensitive_params.py index 8d33047b77b..8a8e707648d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/case_sensitive_params.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/case_sensitive_params.py @@ -45,6 +45,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/client_model.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/client_model.py index 32c09a60148..be63bf5e8a4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/client_model.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/client_model.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/composed_one_of_different_types.py index f18f635fbcb..cd997455196 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/composed_one_of_different_types.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/endpoint_parameters.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/endpoint_parameters.py index 5898d0608a2..639c85ec781 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/endpoint_parameters.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/endpoint_parameters.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/enum_parameters.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/enum_parameters.py index 9a0375a83d9..a3ac05fa5f0 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/enum_parameters.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/enum_parameters.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/fake_health_get.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/fake_health_get.py index 321959bf07e..e3970df11dd 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/fake_health_get.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/fake_health_get.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/group_parameters.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/group_parameters.py index 77bce3d6270..bab146a1f46 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/group_parameters.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/group_parameters.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_additional_properties.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_additional_properties.py index 3dcf988a1b7..47fb548b1f2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_additional_properties.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_additional_properties.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_composition.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_composition.py index 5a595a3fb3e..1253597ad0a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_composition.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/inline_composition.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/json_form_data.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/json_form_data.py index 917d5c7b7d7..aac637d1507 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/json_form_data.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/json_form_data.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/mammal.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/mammal.py index 40880fd1b09..8ac173426e3 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/mammal.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/mammal.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/number_with_validations.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/number_with_validations.py index e2481118651..1826a74b271 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/number_with_validations.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/number_with_validations.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/object_model_with_ref_props.py index 6e72d45b78d..77f4b3ad975 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/object_model_with_ref_props.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/parameter_collisions.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/parameter_collisions.py index 4ec604dd98c..e1606beb30e 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/parameter_collisions.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/parameter_collisions.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/query_parameter_collection_format.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/query_parameter_collection_format.py index 8fd0b87cf6c..4fef58c1548 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/query_parameter_collection_format.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/query_parameter_collection_format.py @@ -45,6 +45,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string.py index f1dda7d9754..318ab585f74 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string_enum.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string_enum.py index 21d92e829df..7dc15a2977b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string_enum.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/string_enum.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_download_file.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_download_file.py index 73f707e268b..77527a9eff3 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_download_file.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_download_file.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_file.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_file.py index f39892210cb..3dce641e476 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_file.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_file.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_files.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_files.py index 6be2c17a026..2eed478036d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_files.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_api_endpoints/upload_files.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_classname_tags_123_api_endpoints/classname.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_classname_tags_123_api_endpoints/classname.py index 1ccf89e848c..d4839bb9b69 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_classname_tags_123_api_endpoints/classname.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/fake_classname_tags_123_api_endpoints/classname.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/add_pet.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/add_pet.py index 80280363358..bc2b459c4c1 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/add_pet.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/add_pet.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/delete_pet.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/delete_pet.py index afb30b58048..8f75bcbd8aa 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/delete_pet.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/delete_pet.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_status.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_status.py index ac4b7f3ad8c..c75db96db9b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_status.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_status.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_tags.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_tags.py index 5496b92cd55..028f8d68d79 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_tags.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/find_pets_by_tags.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/get_pet_by_id.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/get_pet_by_id.py index 549fd2aa6fc..ca6e4ae9f75 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/get_pet_by_id.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/get_pet_by_id.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet.py index fa1b5a1bb96..3c3578420ca 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet_with_form.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet_with_form.py index 798b70c896a..2961059c15b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet_with_form.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/update_pet_with_form.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_file_with_required_file.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_file_with_required_file.py index c137418e02d..62404922a6f 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_file_with_required_file.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_file_with_required_file.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_image.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_image.py index 10c595a21ab..53751178469 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_image.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/pet_api_endpoints/upload_image.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/delete_order.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/delete_order.py index 1c4269d277b..2ed9303649c 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/delete_order.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/delete_order.py @@ -45,6 +45,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_inventory.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_inventory.py index 9daf61b0c08..a674b60efe4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_inventory.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_inventory.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_order_by_id.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_order_by_id.py index 99f9ecbb28f..bf7861386a3 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_order_by_id.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/get_order_by_id.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/place_order.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/place_order.py index ba961a9921e..881f91dc5c4 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/place_order.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/store_api_endpoints/place_order.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_user.py index 7cc7494687d..7bf386a6936 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_user.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_array_input.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_array_input.py index d3ae4f85df7..22d7f23164a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_array_input.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_array_input.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_list_input.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_list_input.py index 81553c66598..558f9086b3c 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_list_input.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/create_users_with_list_input.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/delete_user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/delete_user.py index f337efa3480..88b859ff00b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/delete_user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/delete_user.py @@ -45,6 +45,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/get_user_by_name.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/get_user_by_name.py index fa01a390119..9c5583d5c6d 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/get_user_by_name.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/get_user_by_name.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/login_user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/login_user.py index 47447322ff0..478b4869d82 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/login_user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/login_user.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/logout_user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/logout_user.py index 99bcba58663..b9aa62e0c2a 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/logout_user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/logout_user.py @@ -45,6 +45,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/update_user.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/update_user.py index 472d3354b84..37fed9bcf27 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/update_user.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/api/user_api_endpoints/update_user.py @@ -46,6 +46,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 8301d14cf86..2c568605117 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 90d612a857a..c94a35d111b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 95e55511dca..4bcd7216567 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f0dc6441d3e..2e1a97f9ffa 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 2bb3d0259c8..be131584f2c 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 41f336ea8bc..201a8188f58 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 05b8485a74d..c85b60cf1ce 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 df315c8bf1c..5e423efafba 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 51e9aeeb603..c2edbaeb0ef 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 06912cc2194..b7e1221340d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 19af3dc1e9f..e394fe93311 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c2d568e4b80..7ff4a959c9c 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 00d72319a69..c94a91a879d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 07b32f95f67..79a9aad5fd7 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 4cb4561abe2..fe60e91a7ba 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 b7012234a08..bf3fac7cb94 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/bar.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/bar.py index 61b13533570..81ce5b09a51 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/bar.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/bar.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f1e74bf1e46..bfff57cb082 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean.py index 3f35ab6a653..263bdbdcdd7 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/boolean.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 cf75f7c9445..c40292d6ee2 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 e5987dc9559..1e9d2b12f8d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 e0f0b0f2053..5bcbd3abdad 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 82c20ec0769..549885a2e27 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 9f92d2b3a38..94a7ff0a0c3 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 114bd2832d2..3d5cc122bfa 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 791f3793cb5..c152c0f1060 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 37c5b23285b..4f1e9ed14a5 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 bc4ff7ffab3..a476e5d92c3 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 422ae90d3b8..5c1c3815296 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 d24b43d5ed6..f91b041e09e 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 97f75c86dda..bab2f27e022 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 8b20d7f0941..4582184e465 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 5aa09239e14..3ea21ab42be 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 534e1ce01ca..d6a1f7cced5 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c4e879ae995..928f58b5bd8 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f7ba1546f97..fe8ec786580 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 0adf69e676e..071e8b2febf 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 6efeb9a7872..86b17805c8a 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composition_in_property.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composition_in_property.py index 38f4fb948ac..49fc619cfc2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composition_in_property.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/composition_in_property.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/currency.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/currency.py index 1fd715f3f14..af48c5f606b 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/currency.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/currency.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 af29f5c9e7a..938f8b4f88d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_test.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_test.py index 8b05311d14d..fe399c0a759 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_test.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/date_time_test.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c4365f56e89..d593ace1dec 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 364759f48e2..310dad4babf 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/decimal_payload.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/decimal_payload.py index 99f1f2e4735..24c443deeb9 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/decimal_payload.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/decimal_payload.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 de0f9c174f3..f48bfc6fb33 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 b527aedf20b..88c86c05261 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 d61f6b07be1..4d61e721a6b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 a3fb56284bd..9ea913052e8 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 45a9a512fc0..17828f28029 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 7204328fc89..5f4fa186bc0 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 9c433255529..5e96fa2799f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 1e23482bd9c..785966c5dda 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 3bb58da7067..c5c048042c9 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f55669e6993..a6bf45a144b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 47357f61588..3535312831d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 4560f080ddd..4a5e0140489 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 3fba42202fe..37b15528023 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 74414d77add..6f5098eaaf5 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 59d81989169..03b81dffb45 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 47e282a63e8..d99b83df17a 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 a0a1f019d81..bec74170f91 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 3ea543b0004..28cace6c66d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 146af3287ee..474bc2f1b6b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 6227389dfb1..f9ce559597f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 d9132eb2997..2ce5bf788e2 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 bf6c9452502..2a401beda7b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 48870526b65..198416fa503 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 087d6c07427..d553aa4002f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 ef06e4d9e73..d1be99d4e43 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 fa8036ac0c7..3a922c9c856 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 98351c3eb9d..57612019a9e 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c46a3dde4ad..a819f0a5e46 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c8e7a591f8c..640f40bac9a 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 6f95ff0eaaf..ee0bf81b1a0 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 cf5dd3ae557..98b30389ae4 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 5a9f2f5bb08..a3bfcac6019 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/money.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/money.py index 603573e9f99..aa107446c43 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/money.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/money.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 08f1eacf23b..3be7a9658b5 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 4e7724357e8..a504545ae44 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 d3a24743246..821225c1025 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 2a0c429f54e..14193cfacbe 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 567a7fac160..a311a0c656e 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number.py index 19c1626f487..23b3e0befb2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/number.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 52533d39e49..698cbc0b784 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c8108d4a107..129a0eacb17 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_interface.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_interface.py index af87968d14a..1a230f98b73 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_interface.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_interface.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 14aeee17ba6..b16983b1155 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_decimal_properties.py index 074cc52aaa4..c840eab6369 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_decimal_properties.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 2429a2205a2..595655019ed 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_inline_composition_property.py index ca57f8edd0c..16d6e23cb24 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/object_with_inline_composition_property.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 b0b588d04a1..91be6d02d1a 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 294687560d5..6f06e85a3be 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 2775c77d79c..d93f03e849f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 038a4c6f701..acdcad0903e 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 438831aac74..55baf6a7b35 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 e85504879ae..56b09a2024f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 7ce3ae227f9..2aecf52210e 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 ff7e85735b4..384d18d1181 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c3b568a7336..5a4c783fa0b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 721c27153e5..83fd87c719d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 59552599264..5a3d2514eb4 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f61207d5b57..b29f83c9976 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f78ed803a59..8275e48bb95 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 f6bf08a97e5..273512a9013 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 8e4bea9b30e..f45e4a2bb0d 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 3efa9b66074..1565cd8b979 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 9a67034b34c..09c039f8fe6 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string.py index f2f4e22231e..2b661afe3c2 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/model/string.py @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 a42d77f660d..cead5d15b7b 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 395d83d0f1e..b96f2559062 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c51fbf77013..c2547b157a6 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 9eae261142d..8bbc226e347 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 1b38c173ce0..2e533571785 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 c312855b6bb..115cde5048f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 a36fd79ef3f..83428cd2711 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 cf29c50f64f..1de76493119 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 8d6de64ab2c..d33c830522f 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, 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 15bbe41e9b4..2ea5d4039ce 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 @@ -47,6 +47,10 @@ from petstore_api.schemas import ( # noqa: F401 NoneBase, StrBase, IntBase, + Int32Base, + Int64Base, + Float32Base, + Float64Base, NumberBase, DateBase, DateTimeBase, diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py index b896e4ebe4f..58ffd544224 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py @@ -65,8 +65,12 @@ def update(d: dict, u: dict): Adds u to d Where each dict is defaultdict(set) """ + if not u: + return d for k, v in u.items(): - d[k] = d[k].union(v) + if not v: + continue + d[k] = d[k] | v return d @@ -217,7 +221,6 @@ class ValidatorBase: if (cls.__is_json_validation_enabled('uniqueItems', _instantiation_metadata.configuration) and 'unique_items' in validations and validations['unique_items'] and input_values): unique_items = [] - # print(validations) for item in input_values: if item not in unique_items: unique_items.append(item) @@ -782,25 +785,22 @@ class ListBase: cls_item_cls = getattr(cls, '_items', AnyTypeSchema) for i, value in enumerate(list_items): item_path_to_item = _instantiation_metadata.path_to_item+(i,) - if item_path_to_item in _instantiation_metadata.path_to_schemas: - item_cls = _instantiation_metadata.path_to_schemas[item_path_to_item] - else: + item_cls = _instantiation_metadata.path_to_schemas.get(item_path_to_item) + if item_cls is None: item_cls = cls_item_cls if isinstance(value, item_cls): cast_items.append(value) continue + item_instantiation_metadata = InstantiationMetadata( configuration=_instantiation_metadata.configuration, from_server=_instantiation_metadata.from_server, path_to_item=item_path_to_item, path_to_schemas=_instantiation_metadata.path_to_schemas, ) - - if _instantiation_metadata.from_server: - new_value = item_cls._from_openapi_data(value, _instantiation_metadata=item_instantiation_metadata) - else: - new_value = item_cls(value, _instantiation_metadata=item_instantiation_metadata) + new_value = item_cls._get_new_instance_without_conversion( + value, _instantiation_metadata=item_instantiation_metadata) cast_items.append(new_value) return cast_items @@ -939,7 +939,6 @@ class DictBase(Discriminable): ) other_path_to_schemas = schema._validate(value, _instantiation_metadata=arg_instantiation_metadata) update(path_to_schemas, other_path_to_schemas) - _instantiation_metadata.path_to_schemas.update(arg_instantiation_metadata.path_to_schemas) return path_to_schemas @classmethod @@ -1052,10 +1051,8 @@ class DictBase(Discriminable): path_to_item=property_path_to_item, path_to_schemas=_instantiation_metadata.path_to_schemas, ) - if _instantiation_metadata.from_server: - new_value = property_cls._from_openapi_data(value, _instantiation_metadata=prop_instantiation_metadata) - else: - new_value = property_cls(value, _instantiation_metadata=prop_instantiation_metadata) + new_value = property_cls._get_new_instance_without_conversion( + value, _instantiation_metadata=prop_instantiation_metadata) dict_items[property_name_js] = new_value return dict_items @@ -1070,11 +1067,9 @@ class DictBase(Discriminable): return self[name] except KeyError as ex: raise AttributeError(str(ex)) - # print(('non-frozendict __getattr__', name)) return super().__getattr__(self, name) def __getattribute__(self, name): - # print(('__getattribute__', name)) # if an attribute does exist (for example as a class property but not as an instance method) try: return self[name] @@ -1275,9 +1270,6 @@ class Schema: _instantiation_metadata.path_to_schemas and _instantiation_metadata.path_to_item in _instantiation_metadata.path_to_schemas): chosen_new_cls = _instantiation_metadata.path_to_schemas[_instantiation_metadata.path_to_item] - # print('leaving __get_new_cls early for cls {} because path_to_schemas exists'.format(cls)) - # print(_instantiation_metadata.path_to_item) - # print(chosen_new_cls) return chosen_new_cls """ Dict property + List Item Assignment Use cases: @@ -1293,8 +1285,6 @@ class Schema: because value is of the correct type, and validation was run earlier when the instance was created """ _path_to_schemas = cls._validate(arg, _instantiation_metadata=_instantiation_metadata) - from pprint import pprint - pprint(dict(_path_to_schemas)) # loop through it make a new class for each entry for path, schema_classes in _path_to_schemas.items(): enum_schema = any( @@ -1325,7 +1315,6 @@ class Schema: continue # Use case: value is None, True, False, or an enum value - # print('choosing enum class for path {} in arg {}'.format(path, arg)) value = arg for key in path[1:]: value = value[key] @@ -1342,14 +1331,14 @@ class Schema: return _instantiation_metadata.path_to_schemas[_instantiation_metadata.path_to_item] @classmethod - def __get_new_instance_without_conversion(cls, arg, _instantiation_metadata): + def _get_new_instance_without_conversion(cls, arg, _instantiation_metadata): # PATH 2 - we have a Dynamic class and we are making an instance of it - if issubclass(cls, tuple): - items = cls._get_items(arg, _instantiation_metadata=_instantiation_metadata) - return super(Schema, cls).__new__(cls, items) - elif issubclass(cls, frozendict): + if issubclass(cls, frozendict): properties = cls._get_properties(arg, _instantiation_metadata=_instantiation_metadata) return super(Schema, cls).__new__(cls, properties) + elif issubclass(cls, tuple): + items = cls._get_items(arg, _instantiation_metadata=_instantiation_metadata) + return super(Schema, cls).__new__(cls, items) """ str = openapi str, date, and datetime decimal.Decimal = openapi int and float @@ -1388,7 +1377,7 @@ class Schema: 'from_server must be True in this code path, if you need it to be False, use cls()' ) new_cls = cls.__get_new_cls(arg, _instantiation_metadata) - new_inst = new_cls.__get_new_instance_without_conversion(arg, _instantiation_metadata) + new_inst = new_cls._get_new_instance_without_conversion(arg, _instantiation_metadata) return new_inst @staticmethod @@ -1429,7 +1418,7 @@ class Schema: ) arg = cast_to_allowed_types(arg, from_server=_instantiation_metadata.from_server) new_cls = cls.__get_new_cls(arg, _instantiation_metadata) - return new_cls.__get_new_instance_without_conversion(arg, _instantiation_metadata) + return new_cls._get_new_instance_without_conversion(arg, _instantiation_metadata) def __init__( self, @@ -1455,21 +1444,16 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal int, float -> Decimal StrSchema will convert that to bytes and remember the encoding when we pass in str input """ - if isinstance(arg, (date, datetime)): - if not from_server: - return arg.isoformat() - # ApiTypeError will be thrown later by _validate_type + if isinstance(arg, str): return arg + elif type(arg) is dict or type(arg) is frozendict: + return frozendict({key: cast_to_allowed_types(val) for key, val in arg.items()}) elif isinstance(arg, bool): """ this check must come before isinstance(arg, (int, float)) because isinstance(True, int) is True """ return arg - elif isinstance(arg, decimal.Decimal): - return arg - elif isinstance(arg, int): - return decimal.Decimal(arg) elif isinstance(arg, float): decimal_from_float = decimal.Decimal(arg) if decimal_from_float.as_integer_ratio()[1] == 1: @@ -1477,7 +1461,18 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal # 3.4028234663852886e+38 -> Decimal('340282346638528859811704183484516925440.0') return decimal.Decimal(str(decimal_from_float)+'.0') return decimal_from_float - elif isinstance(arg, str): + elif type(arg) is list or type(arg) is tuple: + return tuple([cast_to_allowed_types(item) for item in arg]) + elif isinstance(arg, int): + return decimal.Decimal(arg) + elif arg is None: + return arg + elif isinstance(arg, (date, datetime)): + if not from_server: + return arg.isoformat() + # ApiTypeError will be thrown later by _validate_type + return arg + elif isinstance(arg, decimal.Decimal): return arg elif isinstance(arg, bytes): return arg @@ -1485,12 +1480,6 @@ def cast_to_allowed_types(arg: typing.Union[str, date, datetime, decimal.Decimal if arg.closed: raise ApiValueError('Invalid file state; file is closed and must be open') return arg - elif type(arg) is list or type(arg) is tuple: - return tuple([cast_to_allowed_types(item) for item in arg]) - elif type(arg) is dict or type(arg) is frozendict: - return frozendict({key: cast_to_allowed_types(val) for key, val in arg.items() if val is not unset}) - elif arg is None: - return arg elif isinstance(arg, Schema): return arg raise ValueError('Invalid type passed in got input={} type={}'.format(arg, type(arg))) @@ -1779,30 +1768,49 @@ class IntSchema(IntBase, NumberSchema): return super().__new__(cls, arg, **kwargs) -class Int32Schema( +class Int32Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-2147483648), inclusive_maximum=decimal.Decimal(2147483647) ), +): + pass + + +class Int32Schema( + Int32Base, IntSchema ): pass -class Int64Schema( + +class Int64Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-9223372036854775808), inclusive_maximum=decimal.Decimal(9223372036854775807) ), +): + pass + + +class Int64Schema( + Int64Base, IntSchema ): pass +class Float32Base( + _SchemaValidator( + inclusive_minimum=decimal.Decimal(-3.4028234663852886e+38), + inclusive_maximum=decimal.Decimal(3.4028234663852886e+38) + ), +): + pass + + class Float32Schema( - _SchemaValidator( - inclusive_minimum=decimal.Decimal(-3.4028234663852886e+38), - inclusive_maximum=decimal.Decimal(3.4028234663852886e+38) - ), + Float32Base, NumberSchema ): @@ -1812,11 +1820,17 @@ class Float32Schema( return super()._from_openapi_data(arg, _instantiation_metadata=_instantiation_metadata) -class Float64Schema( +class Float64Base( _SchemaValidator( inclusive_minimum=decimal.Decimal(-1.7976931348623157E+308), inclusive_maximum=decimal.Decimal(1.7976931348623157E+308) ), +): + pass + + +class Float64Schema( + Float64Base, NumberSchema ):